mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 02:19:47 +09:00
chore(web): Fixing up missing awaits (#3882)
* chore(web): Fixing up some missing awaits. * chore(web/shared-viewer): Update import to shorted version.
This commit is contained in:
committed by
GitHub
parent
f1027d7807
commit
305889f32b
@@ -40,7 +40,7 @@
|
||||
});
|
||||
|
||||
if (status === 201) {
|
||||
goto(AppRoute.AUTH_LOGIN);
|
||||
await goto(AppRoute.AUTH_LOGIN);
|
||||
return;
|
||||
} else {
|
||||
error = 'Error create admin account';
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
}
|
||||
} catch (error) {
|
||||
authConfig.passwordLoginEnabled = true;
|
||||
handleError(error, 'Unable to connect!');
|
||||
await handleError(error, 'Unable to connect!');
|
||||
}
|
||||
|
||||
oauthLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user