enable album nav play button

This commit is contained in:
geoffrey45
2022-06-09 11:52:26 +03:00
parent 843a80f4a3
commit e48dca4672
8 changed files with 92 additions and 50 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
</div>
<div class="info">
<Album v-show="$route.name == Routes.album && nav.showPlay" />
<Album v-show="$route.name == Routes.album && !nav.showPlay" />
<Playlists v-show="$route.name == Routes.playlists" />
<Folder v-show="$route.name == Routes.folder" :subPaths="subPaths" />
</div>
+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<div class="title albumnavtitle" v-motion-slide-from-left-100>
<PlayBtn />
<PlayBtn :source="playSources.album" :store="useAlbumStore" />
<div class="ellip">
{{ store.info.title }}
</div>
@@ -10,7 +10,7 @@
<script setup lang="ts">
import useAlbumStore from "@/stores/album";
import PlayBtn from "@/components/shared/PlayBtn.vue";
import { playSources } from "@/composables/enums";
const store = useAlbumStore();
</script>