Skip to content

Commit 1e57b8d

Browse files
authored
fix: allow custom display names (#19)
1 parent c7de35b commit 1e57b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class App extends React.Component<AppProps, AppState> {
6262
let recordId = ""
6363
let recordState: TimelineRecordState;
6464
timeline.records.forEach(function (record: TimelineRecord) {
65-
if (record.type == "Task" && record.name == "tfsec") {
65+
if (record.type == "Task" && record.task !== null && record.task.name == "tfsec") {
6666
recordId = record.id
6767
recordState = record.state
6868
}

0 commit comments

Comments
 (0)