diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html index 695484e..3c67b6e 100755 --- a/frontend/src/ketr-photos/ketr-photos.html +++ b/frontend/src/ketr-photos/ketr-photos.html @@ -1595,14 +1595,18 @@ setActions: function() { if (this.user && this.user.maintainer) { let actions = [ "delete" ]; + if (this.mode == "duplicates") { actions.unshift("text-format"); - } else if (this.mode == "trash") { + } + + if (this.mode == "trash") { actions.unshift("undo"); } else { actions.unshift("image:rotate-right"); actions.unshift("image:rotate-left"); } + this.actions = actions; } else { this.actions = [];