Bugfix Carousel on HomePage

This commit is contained in:
2024-11-01 03:08:52 +01:00
parent 370278fddc
commit 98e2a3c3db

View File

@@ -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