Skip to content

Commit f779c80

Browse files
committed
childUIDs should be conditional
1 parent a658773 commit f779c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Navigator/NavigatorCardItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default {
197197
},
198198
computed: {
199199
isGroupMarker: ({ item: { type } }) => type === TopicTypes.groupMarker,
200-
isParent: ({ item, isGroupMarker }) => !!item.childUIDs.length && !isGroupMarker,
200+
isParent: ({ item, isGroupMarker }) => !!item.childUIDs?.length && !isGroupMarker,
201201
parentLabel: ({ item }) => `label-parent-${item.uid}`,
202202
siblingsLabel: ({ item }) => `label-${item.uid}`,
203203
usageLabel: ({ item }) => `usage-${item.uid}`,

0 commit comments

Comments
 (0)