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:
parent
3437c36b87
commit
92612fc616
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue