This commit is contained in:
17
app/components/organism/compilationPage.vue
Normal file
17
app/components/organism/compilationPage.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div class="mt-8 p-8 w-96">
|
||||
<MoleculeCard v-for="track in dataStore.getTracksByCompilationId(compilation.id)" :key="track.id" :track="track" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useDataStore } from '~/store/data'
|
||||
import type { Compilation } from '~~/types/types'
|
||||
|
||||
const props = defineProps<{
|
||||
compilation: Compilation
|
||||
}>()
|
||||
|
||||
const dataStore = useDataStore()
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user