From 987384b41c2e3054ae448a5662860ce510bc8c07 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 24 Jun 2024 07:53:24 +0200 Subject: [PATCH] remove redundant condition --- stores/playlist.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stores/playlist.ts b/stores/playlist.ts index 94f47292..05fbcf01 100644 --- a/stores/playlist.ts +++ b/stores/playlist.ts @@ -62,9 +62,7 @@ export const usePlaylist = defineStore('playlist', { } }) .catch((e) => { - if (e.status >= 403) { - indexStore.msgAlert('error', e.data, 5) - } else if (e.status >= 400) { + if (e.status >= 400) { indexStore.msgAlert('error', e.data, 5) } else if ( channel === this.last_channel &&