Skip to content

Commit

Permalink
correct minor js syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKilmory committed Oct 30, 2024
1 parent fad05b0 commit 3afaa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kahuna/public/js/edits/image-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3afaa2c

Please sign in to comment.