Fix last tag deletion [SCI-10505]

This commit is contained in:
Andrej 2024-03-25 10:52:01 +01:00
parent 0746519fcb
commit 320bf21347

View file

@ -140,7 +140,7 @@
HelperModule.flashAlertMsg(I18n.t('general.no_permissions'), 'danger');
}
});
} else {
} else if (lastTag.length > 0) {
newTag = {
tag: {
name: lastTag.find('.tag-label').html(),