Allow rotation while in duplicates mode

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-10-16 17:04:20 -07:00
parent 0d1aa9223b
commit ac6fba87d3

View File

@ -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 = [];