diff --git a/kahuna/public/js/edits/image-editor.js b/kahuna/public/js/edits/image-editor.js index f0cda74a64..f421e992e0 100644 --- a/kahuna/public/js/edits/image-editor.js +++ b/kahuna/public/js/edits/image-editor.js @@ -325,7 +325,7 @@ imageEditor.controller('ImageEditorCtrl', [ } if (category.leases.length === 0) { // possibility of removal only - if(!image.data.usageRights.category) { + if (!image.data.usageRights.category) { return; } const removeLeases = removeCategoryLeases(ctrl.categories, image, image.data.usageRights.category);