architwin 1.19.1 → 1.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -277,7 +277,7 @@ export function renderTags(tags, showOwnTagsOnly = false) {
|
|
|
277
277
|
const payload = { tag: targetTag };
|
|
278
278
|
dispatchSpaceEvent(SPACE_EVENTS.TAG_DISPOSED, payload);
|
|
279
279
|
toggleModal(false);
|
|
280
|
-
notify.success(i18n.t('
|
|
280
|
+
notify.success(i18n.t('SuccessDeleteTag'));
|
|
281
281
|
}
|
|
282
282
|
else {
|
|
283
283
|
toggleModal(false);
|
|
@@ -489,7 +489,7 @@ export function addClickEventToTagRow(tag) {
|
|
|
489
489
|
yield disposeTag({ tagId: tagId });
|
|
490
490
|
const tagRow = document.getElementById(`at-tag-row-${tagId}`);
|
|
491
491
|
tagRow.remove();
|
|
492
|
-
notify.success(i18n.t('
|
|
492
|
+
notify.success(i18n.t('SuccessDeleteTag'));
|
|
493
493
|
}
|
|
494
494
|
else {
|
|
495
495
|
notify.error("Tag id not found!");
|
package/lib/atwinui/events.js
CHANGED
|
@@ -1077,6 +1077,7 @@ function handleSaveTag() {
|
|
|
1077
1077
|
currentTag.media_url = tagFormPayload.tagEmbed;
|
|
1078
1078
|
currentTag.json_data.label = tagFormPayload.tagName;
|
|
1079
1079
|
currentTag.json_data.description = tagFormPayload.tagDescription;
|
|
1080
|
+
currentTag.tag_type = TAG_TYPE.MP;
|
|
1080
1081
|
// Add tag icon data
|
|
1081
1082
|
const targetCategory = _tagCategories.find(cat => cat.uuid === tagFormPayload.tagCategoryId);
|
|
1082
1083
|
if (targetCategory) {
|