mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-15 04:17:50 -05:00
fix: prevent modal close on click outside while saving
This commit is contained in:
@@ -89,7 +89,14 @@ const { execute: executeUpdateUserData, isLoading: isLoadingUpdateUserData } =
|
||||
</Dialog.Trigger>
|
||||
<Dialog.Portal :to="dialogContainer ?? undefined">
|
||||
<Dialog.Overlay />
|
||||
<Dialog.Content class="modal">
|
||||
<Dialog.Content
|
||||
class="modal"
|
||||
@interact-outside="(e) => {
|
||||
if (isLoadingUpdateUserData) {
|
||||
return e.preventDefault();
|
||||
}
|
||||
}"
|
||||
>
|
||||
<Dialog.Title>
|
||||
{{ $t("account.settings.settingCards.userSettings") }}.
|
||||
</Dialog.Title>
|
||||
|
||||
Reference in New Issue
Block a user