refactor the "SEE ALL" button into a component

This commit is contained in:
geoffrey45
2023-01-02 15:29:40 +03:00
committed by Mungai Njoroge
parent 070dc92733
commit 688e7d8282
14 changed files with 84 additions and 101 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<div class="album-grid-view v-scroll-page">
<div class="card-grid-view v-scroll-page">
<div class="scrollable">
<AlbumCard
v-for="album in artist.toShow"
@@ -11,8 +11,8 @@
</template>
<script setup lang="ts">
import useArtistDiscographyStore from "@/stores/pages/artistDiscog";
import AlbumCard from "@/components/shared/AlbumCard.vue";
import useArtistDiscographyStore from "@/stores/pages/artistDiscog";
import { onMounted } from "vue";
import { onBeforeRouteLeave, useRoute } from "vue-router";