add album songs to albumView

This commit is contained in:
geoffrey45 2021-12-27 23:20:19 +03:00
parent ff6a4e34b5
commit 2f14b5a6de
2 changed files with 4 additions and 4 deletions

View File

@ -14,10 +14,10 @@
<tr
v-for="song in songs"
:key="song"
@click="updateQueue(song), playAudio(song.filepath)"
:class="{ current: current._id.$oid == song._id.$oid }"
>
<td :style="{ width: songTitleWidth + 'px' }" class="flex">
<td :style="{ width: songTitleWidth + 'px' }" class="flex" @click="updateQueue(song), playAudio(song.filepath)">
<div
class="album-art rounded image"
:style="{

View File

@ -5,7 +5,7 @@
</div>
<div class="separator" id="av-sep"></div>
<div>
<SongList :album_songs="album_songs"/>
<SongList :songs="album_songs"/>
</div>
<div class="separator" id="av-sep"></div>
<FeaturedArtists />
@ -24,7 +24,7 @@ import Header from "../components/AlbumView/Header.vue";
import AlbumBio from "../components/AlbumView/AlbumBio.vue";
import FromTheSameArtist from "../components/AlbumView/FromTheSameArtist.vue";
import SongList from "../components/PlaylistView/SongList.vue";
import SongList from "../components/FolderView/SongList.vue";
import FeaturedArtists from "../components/PlaylistView/FeaturedArtists.vue";
import getAlbum from "../composables/getAlbum.js";