Commit 10480a3a authored by Agate's avatar Agate 💬
Browse files

Fix: #1226: Added controls to play volume of an album

parent b8befde2
Added controls to play volume of an album (#1226)
\ No newline at end of file
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<template v-else-if="discs && discs.length > 1"> <template v-else-if="discs && discs.length > 1">
<div v-for="(tracks, discNumber) in discs" :key="discNumber"> <div v-for="(tracks, discNumber) in discs" :key="discNumber">
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<play-button class="right floated mini inverted vibrant" :tracks="tracks"></play-button>
<translate <translate
tag="h3" tag="h3"
:translate-params="{number: discNumber + 1}" :translate-params="{number: discNumber + 1}"
...@@ -52,6 +53,7 @@ import ChannelEntries from '@/components/audio/ChannelEntries' ...@@ -52,6 +53,7 @@ import ChannelEntries from '@/components/audio/ChannelEntries'
import AlbumEntries from '@/components/audio/AlbumEntries' import AlbumEntries from '@/components/audio/AlbumEntries'
import Pagination from "@/components/Pagination" import Pagination from "@/components/Pagination"
import PaginationMixin from "@/components/mixins/Pagination" import PaginationMixin from "@/components/mixins/Pagination"
import PlayButton from "@/components/audio/PlayButton"
export default { export default {
props: ["object", "libraries", "discs", "isSerie", "artist", "page", "paginateBy", "totalTracks"], props: ["object", "libraries", "discs", "isSerie", "artist", "page", "paginateBy", "totalTracks"],
...@@ -60,7 +62,8 @@ export default { ...@@ -60,7 +62,8 @@ export default {
AlbumEntries, AlbumEntries,
ChannelEntries, ChannelEntries,
TrackTable, TrackTable,
Pagination Pagination,
PlayButton
}, },
data() { data() {
return { return {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment