Fix silent playlist track add fail bug (#1020)
This commit is contained in:
parent
fc8c585e15
commit
3a48ae7e51
2 changed files with 2 additions and 1 deletions
1
changes/changelog.d/1020.bugfix
Normal file
1
changes/changelog.d/1020.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix failed track adding to playlist being silent (#1020)
|
||||
|
|
@ -301,7 +301,7 @@ export default {
|
|||
// if backendErrors isn't populated (e.g. duplicate track exceptions raised by
|
||||
// the playlist model), read directly from the response
|
||||
if (error.rawPayload.playlist) {
|
||||
self.errored(error.rawPayload.playlist.non_field_errors)
|
||||
self.errored(error.rawPayload.playlist)
|
||||
} else {
|
||||
self.errored(error.backendErrors)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue