remove redundant condition

This commit is contained in:
jb-alvarado 2024-06-24 07:53:24 +02:00
parent 821ea78fd4
commit 987384b41c

View File

@ -62,9 +62,7 @@ export const usePlaylist = defineStore('playlist', {
} }
}) })
.catch((e) => { .catch((e) => {
if (e.status >= 403) { if (e.status >= 400) {
indexStore.msgAlert('error', e.data, 5)
} else if (e.status >= 400) {
indexStore.msgAlert('error', e.data, 5) indexStore.msgAlert('error', e.data, 5)
} else if ( } else if (
channel === this.last_channel && channel === this.last_channel &&