We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f809e3 commit 4fd26b8Copy full SHA for 4fd26b8
src/app/file-browser/components/edit-tags/edit-tags.component.ts
@@ -242,7 +242,7 @@ export class EditTagsComponent
242
243
this.itemTagsById.clear();
244
245
- if (this.item?.isFolder) {
+ if (this.item && this.item.isFolder) {
246
this.itemTags = this.filterTagsByType(
247
(this.item?.TagVOs || [])
248
.map((tag) => this.allTags?.find((t) => t.tagId === tag.tagId))
@@ -253,7 +253,7 @@ export class EditTagsComponent
253
);
254
}
255
256
- if (this.item?.isRecord) {
+ if (this.item && this.item?.isRecord) {
257
258
(this.item?.tags || [])
259
.map((tag) => this.allTags?.find((t) => t.tagId === +tag.id))
0 commit comments