Fix silent playlist track add fail bug (#1020)

This commit is contained in:
MattDHarding 2022-02-05 14:50:18 +00:00 committed by JuniorJPDJ
parent fc8c585e15
commit 3a48ae7e51
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fix failed track adding to playlist being silent (#1020)

View File

@ -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)
}