mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: more flexible modal manager types (#19123)
* fix: required argument in onClose modal function * chore: more flexible modal manager types
This commit is contained in:
parent
5179c5badf
commit
22eef5f3c5
11 changed files with 21 additions and 16 deletions
|
|
@ -36,7 +36,7 @@
|
|||
const handleSave = async (skipConfirm: boolean) => {
|
||||
const allMethodsDisabled = !config.oauth.enabled && !config.passwordLogin.enabled;
|
||||
if (allMethodsDisabled && !skipConfirm) {
|
||||
const isConfirmed = await modalManager.show(AuthDisableLoginConfirmModal, {});
|
||||
const isConfirmed = await modalManager.show(AuthDisableLoginConfirmModal);
|
||||
if (!isConfirmed) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue