Skip to content

Commit c83426a

Browse files
committed
Fix: Computed variable is waiting for a boolean, the undefined cases should be transformed to boolean. using double close exclamation to detect positive cases.
1 parent f59cd2e commit c83426a

File tree

1 file changed

+1
-1
lines changed
  • packages/bootstrap-vue-3/src/components/BTabs

1 file changed

+1
-1
lines changed

packages/bootstrap-vue-3/src/components/BTabs/BTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const lazyBoolean = useBooleanish(toRef(props, props.lazyOnce !== undefined ? 'l
5252
5353
const lazyRenderCompleted = ref(false)
5454
55-
const computedLazy = computed<boolean>(() => parentData?.lazy || lazyBoolean.value)
55+
const computedLazy = computed<boolean>(() => !!(parentData?.lazy || lazyBoolean.value))
5656
const computedLazyOnce = computed<boolean>(() => props.lazyOnce !== undefined)
5757
5858
const computedActive = computed<boolean>(() => activeBoolean.value && !disabledBoolean.value)

0 commit comments

Comments
 (0)