Skip to content

Commit d0c6a7c

Browse files
committed
Don't return UNSPECIFIED task events in getRunEvents
1 parent 51ac791 commit d0c6a7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/webapp/app/v3/eventRepository.server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,10 @@ export class EventRepository {
957957
let preparedEvents: Array<PreparedEvent> = [];
958958

959959
for (const event of events) {
960+
if (event.kind === "UNSPECIFIED") {
961+
continue;
962+
}
963+
960964
preparedEvents.push(prepareEvent(event));
961965
}
962966

0 commit comments

Comments
 (0)