Fix modals closing with unsaved changes when clicking the close button, and added a shortcut to force close a modal by holding shift and clicking the close button

This commit is contained in:
Samuel Elliott 2018-03-01 19:01:45 +00:00
parent 3437c36b87
commit 92612fc616
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
<slot name="icon" />
</div>
<span class="bd-modal-headertext">{{headerText}}</span>
<div class="bd-modal-x" @click="close">
<MiClose size="18"/>
<div class="bd-modal-x" @click="e => close(e.shiftKey, e)">
<MiClose size="18" />
</div>
</div>
<div class="bd-modal-body">