Fix silent playlist track add fail bug (#1020)
This commit is contained in:
parent
fc8c585e15
commit
3a48ae7e51
|
@ -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
|
// if backendErrors isn't populated (e.g. duplicate track exceptions raised by
|
||||||
// the playlist model), read directly from the response
|
// the playlist model), read directly from the response
|
||||||
if (error.rawPayload.playlist) {
|
if (error.rawPayload.playlist) {
|
||||||
self.errored(error.rawPayload.playlist.non_field_errors)
|
self.errored(error.rawPayload.playlist)
|
||||||
} else {
|
} else {
|
||||||
self.errored(error.backendErrors)
|
self.errored(error.backendErrors)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue