From 3afaa2c2b9a78a8afcdadb0dbd999eccc492b57d Mon Sep 17 00:00:00 2001 From: AndyKilmory Date: Wed, 30 Oct 2024 10:14:43 +0000 Subject: [PATCH] correct minor js syntax error --- kahuna/public/js/edits/image-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);