Skip to content

Commit

Permalink
feat: detach draft modal when not visible
Browse files Browse the repository at this point in the history
Signed-off-by: Svetoslav Borislavov <[email protected]>
  • Loading branch information
SvetBorislavov committed Jan 16, 2025
1 parent b4fcb0b commit acb3f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front-end/src/renderer/components/SaveDraftButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ onBeforeRouteLeave(async to => {
><i class="bi bi-save"></i> Save Draft</AppButton
>
<AppModal
v-if="isSaveDraftModalShown"
:show="isSaveDraftModalShown"
:close-on-click-outside="false"
:close-on-escape="false"
Expand Down

0 comments on commit acb3f9f

Please sign in to comment.