Bugfix Carousel on HomePage
This commit is contained in:
@@ -6,13 +6,13 @@ import outlinedButton from '@/components/basics/outlinedButton.vue';
|
|||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const bandStore = useBandStore()
|
const bandStore = useBandStore()
|
||||||
const window = ref(0)
|
|
||||||
|
|
||||||
bandStore.getBands()
|
bandStore.getBands()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<v-carousel
|
<v-carousel
|
||||||
|
v-if="bandStore.bands.length > 0"
|
||||||
hide-delimiters
|
hide-delimiters
|
||||||
hide-delimiter-background
|
hide-delimiter-background
|
||||||
height="700"
|
height="700"
|
||||||
@@ -35,6 +35,7 @@ bandStore.getBands()
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<v-carousel-item
|
<v-carousel-item
|
||||||
|
|
||||||
v-for="band in bandStore.bands"
|
v-for="band in bandStore.bands"
|
||||||
:src="'http://localhost:3000/static/' + band.imageMembers"
|
:src="'http://localhost:3000/static/' + band.imageMembers"
|
||||||
cover
|
cover
|
||||||
|
|||||||
Reference in New Issue
Block a user