Skip to content

Commit 13a5efc

Browse files
author
issayah
committed
accidental removal of strongly typed computed
1 parent 44f5e63 commit 13a5efc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/BCarousel/BCarouselSlide.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ const props = withDefaults(defineProps<BCarouselSlideProps>(), {
7777
const parentData = inject<BCarouselParentData>(injectionKey, {})
7878
const computedId = useId(props.id, 'accordion')
7979
// eslint-disable-next-line @typescript-eslint/no-unused-vars
80-
const img = computed(() => (props.imgBlank ? props.imgBlank : props.imgSrc))
80+
const img = computed<string | true | undefined>(() =>
81+
props.imgBlank ? props.imgBlank : props.imgSrc
82+
)
8183
8284
const computedAttr = computed(() => ({
8385
background: `${

0 commit comments

Comments
 (0)