From ac6fba87d35f6041d627980c54c784bac3ef75c6 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 16 Oct 2018 17:04:20 -0700 Subject: [PATCH] Allow rotation while in duplicates mode Signed-off-by: James Ketrenos --- frontend/src/ketr-photos/ketr-photos.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = [];