Commit 73b9cf8d authored by Philipp Wolfer's avatar Philipp Wolfer
Browse files

Fix delete library modal closing immediately

The delete library button was not only opening the confirmation modal but also submitted the edit library form, causing the modal to close again.

Fixes #1272
parent e27b7ed5
Fix delete library modal closing immediately (#1272)
\ No newline at end of file
......@@ -26,7 +26,7 @@
<translate translate-context="Content/Library/Button.Label/Verb" v-if="library">Update library</translate>
<translate translate-context="Content/Library/Button.Label/Verb" v-else>Create library</translate>
</button>
<dangerous-button v-if="library" class="ui right floated basic danger button" @confirm="remove()">
<dangerous-button v-if="library" type="button" class="ui right floated basic danger button" @confirm="remove()">
<translate translate-context="*/*/*/Verb">Delete</translate>
<p slot="modal-header">
<translate translate-context="Popup/Library/Title">Delete this library?</translate>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment