kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
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 #1272environments/review-docs-devel-1399dq/deployments/6607
rodzic
e27b7ed588
commit
73b9cf8d71
|
@ -0,0 +1 @@
|
|||
Fix delete library modal closing immediately (#1272)
|
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue