Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mélanie Chauvel
funkwhale
Commits
10480a3a
Commit
10480a3a
authored
Sep 12, 2020
by
Agate
💬
Browse files
Fix: #1226: Added controls to play volume of an album
parent
b8befde2
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/1226.enhancement
0 → 100644
View file @
10480a3a
Added controls to play volume of an album (#1226)
\ No newline at end of file
front/src/components/library/AlbumDetail.vue
View file @
10480a3a
...
...
@@ -9,6 +9,7 @@
<template
v-else-if=
"discs && discs.length > 1"
>
<div
v-for=
"(tracks, discNumber) in discs"
:key=
"discNumber"
>
<div
class=
"ui hidden divider"
></div>
<play-button
class=
"right floated mini inverted vibrant"
:tracks=
"tracks"
></play-button>
<translate
tag=
"h3"
:translate-params=
"
{number: discNumber + 1}"
...
...
@@ -52,6 +53,7 @@ import ChannelEntries from '@/components/audio/ChannelEntries'
import
AlbumEntries
from
'
@/components/audio/AlbumEntries
'
import
Pagination
from
"
@/components/Pagination
"
import
PaginationMixin
from
"
@/components/mixins/Pagination
"
import
PlayButton
from
"
@/components/audio/PlayButton
"
export
default
{
props
:
[
"
object
"
,
"
libraries
"
,
"
discs
"
,
"
isSerie
"
,
"
artist
"
,
"
page
"
,
"
paginateBy
"
,
"
totalTracks
"
],
...
...
@@ -60,7 +62,8 @@ export default {
AlbumEntries
,
ChannelEntries
,
TrackTable
,
Pagination
Pagination
,
PlayButton
},
data
()
{
return
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment