Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Wolfer
funkwhale
Commits
a4a112e0
Commit
a4a112e0
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix#795: cover not showing in queue/player when playing tracks from "albums" tab
parent
eb1f7e55
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/changelog.d/795.bugfix
+1
-0
1 addition, 0 deletions
changes/changelog.d/795.bugfix
front/src/components/audio/album/Card.vue
+15
-1
15 additions, 1 deletion
front/src/components/audio/album/Card.vue
with
16 additions
and
1 deletion
changes/changelog.d/795.bugfix
0 → 100644
+
1
−
0
View file @
a4a112e0
Fixed cover not showing in queue/player when playing tracks from "albums" tab (#795)
This diff is collapsed.
Click to expand it.
front/src/components/audio/album/Card.vue
+
15
−
1
View file @
a4a112e0
...
...
@@ -45,7 +45,7 @@
</div>
</div>
<div
class=
"extra content"
>
<play-button
class=
"mini basic orange right floated"
:tracks=
"
album.
tracks"
:album=
"album"
>
<play-button
class=
"mini basic orange right floated"
:tracks=
"tracks
WithAlbum
"
:album=
"album"
>
<translate
translate-context=
"Content/Queue/Button.Label/Short, Verb"
>
Play all
</translate>
</play-button>
<span>
...
...
@@ -83,6 +83,20 @@ export default {
return
this
.
album
.
tracks
}
return
this
.
album
.
tracks
.
slice
(
0
,
this
.
initialTracks
)
},
tracksWithAlbum
()
{
// needed to include album data (especially cover)
// with tracks appended in queue (#795)
let
self
=
this
return
this
.
album
.
tracks
.
map
(
t
=>
{
return
{
...
t
,
album
:
{
...
self
.
album
,
tracks
:
[]
}
}
})
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment