Skip to content

Commit

Permalink
fix(templates): resolve issues of signout confirm modal in Boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk authored Sep 14, 2024
1 parent 1158eae commit f761f34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
</div>
<div class="modal-title">@Localizer[nameof(AppStrings.SignOut)]</div>
<div class="modal-desc">@Localizer[nameof(AppStrings.SignOutPrompt)]</div>
<div>
<BitButton OnClick="SignOut">
<BitStack Horizontal Gap="0.5rem">
<BitButton OnClick="SignOut" AutoLoading>
@Localizer[nameof(AppStrings.SignOut)]
</BitButton>
<BitButton OnClick="CloseModal" Variant="BitVariant.Outline">
@Localizer[nameof(AppStrings.Cancel)]
</BitButton>
</div>
</BitStack>
</div>
</BitModal>
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ private async Task CloseModal()

private async Task SignOut()
{
await CloseModal();

await AuthenticationManager.SignOut(CurrentCancellationToken);

await CloseModal();
}
}

0 comments on commit f761f34

Please sign in to comment.