Skip to content

Commit 67ca386

Browse files
authored
fix: can't access property "map", failed_predicates is undefined (#4337)
1 parent 010c2b2 commit 67ca386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/backend-ai-session-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2436,7 +2436,7 @@ export default class BackendAISessionList extends BackendAIPage {
24362436
${passedCount + ` Passed`}
24372437
</span>
24382438
<mwc-list>
2439-
${tmpSessionStatus.scheduler.failed_predicates.map((item) => {
2439+
${tmpSessionStatus.scheduler.failed_predicates?.map((item) => {
24402440
return html`
24412441
${item.name === 'reserved_time'
24422442
? html`

0 commit comments

Comments
 (0)