We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aea1f7 commit 6f809e3Copy full SHA for 6f809e3
src/app/file-browser/components/edit-tags/edit-tags.component.ts
@@ -264,9 +264,12 @@ export class EditTagsComponent
264
);
265
}
266
267
- for (const tag of this.itemTags) {
268
- this.itemTagsById.add(tag.tagId);
+ if (Array.isArray(this.itemTags)) {
+ for (const tag of this.itemTags) {
269
+ this.itemTagsById.add(tag.tagId);
270
+ }
271
272
+
273
this.tagsService.setItemTags(
274
this.item.isFolder ? this.item.TagVOs : (this.item as RecordVO).tags,
275
0 commit comments