mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: await api key nested modal (#25265)
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
const permissions = isAllPermissions ? [Permission.All] : selectedPermissions;
|
||||
const response = await handleCreateApiKey({ name, permissions });
|
||||
if (response) {
|
||||
// no nested modal
|
||||
void modalManager.show(ApiKeySecretModal, { secret: response.secret });
|
||||
await modalManager.show(ApiKeySecretModal, { secret: response.secret });
|
||||
onClose();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user