Add move to the item page

This commit is contained in:
Tiberiu Ichim 2026-02-06 14:16:28 +02:00
parent 37626b8d60
commit 4cfafeb174
2 changed files with 8 additions and 0 deletions

View file

@ -424,6 +424,10 @@ export default {
}
if (this.userCanDelete) {
items.push({
text: this.$strings.ButtonMoveToLibrary,
action: 'move'
})
items.push({
text: this.$strings.ButtonDelete,
action: 'delete'
@ -771,6 +775,9 @@ export default {
this.downloadLibraryItem()
} else if (action === 'delete') {
this.deleteLibraryItem()
} else if (action === 'move') {
this.$store.commit('setSelectedLibraryItem', this.libraryItem)
this.$store.commit('globals/setShowMoveToLibraryModal', true)
} else if (action === 'sendToDevice') {
this.sendToDevice(data)
} else if (action === 'share') {