Skip to content

Commit 4d10742

Browse files
committed
Fix: Invalid check for type name
1 parent a9491b4 commit 4d10742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BTabs/BTabs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const getTabs = (slots: any): any[] => {
238238
}
239239
return arr
240240
}, [])
241-
.filter((child: any) => child.type?.name === 'BTab')
241+
.filter((child: any) => child.type?.__name === 'BTab')
242242
}
243243
244244
activateTab(_tabIndex.value)

0 commit comments

Comments
 (0)