mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Minor fixes
- Avoid queue when fetching lyrics id - Better error handling for logout
This commit is contained in:
parent
08da12fa67
commit
580c1b7b46
4 changed files with 17 additions and 9 deletions
|
@ -80,7 +80,9 @@ async function setAuth(key) {
|
|||
|
||||
const res = await useAuthLogout();
|
||||
|
||||
if (res?.error) if (!confirm(`Got Error: ${res.error}. Continue?`)) return;
|
||||
if (!res && res?.error)
|
||||
if (!confirm(`Got Error ${res ? ': ' + res.error : ''}. Continue?`))
|
||||
return;
|
||||
}
|
||||
|
||||
store.removeItem('auth');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue