Commit d419b6d3 authored by Mélanie Chauvel's avatar Mélanie Chauvel

Don’t close the “Add to playlist” dialog when closing duplicate song warning

parent f10aa9fe
Pipeline #8162 passed with stages
in 5 minutes and 12 seconds
......@@ -25,7 +25,7 @@
v-translate="{track: track.title, playlist: duplicateTrackAddInfo.playlist_name}"
:translate-params="{track: track.title, playlist: duplicateTrackAddInfo.playlist_name}"><strong>%{ track }</strong> is already in <strong>%{ playlist }</strong>.</p>
<button
@click="update(false)"
@click="duplicateTrackAddConfirm(false)"
class="ui small cancel button"><translate translate-context="*/*/Button.Label/Verb">Cancel</translate>
</button>
<button
......@@ -161,6 +161,9 @@ export default {
self.showDuplicateTrackAddConfirmation = false
}
})
},
duplicateTrackAddConfirm (v) {
this.showDuplicateTrackAddConfirmation = v
}
},
computed: {
......
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