Skip to content

Commit 6eae006

Browse files
authored
Merge pull request #851 from PermanentOrg/PER-10365-sidebar-tags
[PER-10365] Fix tags not appearing in share sidebar
2 parents c59e5ca + 4a3bca5 commit 6eae006

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/app/file-browser/components/edit-tags/edit-tags.component.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,10 @@ export class EditTagsComponent
231231
this.itemTagsById.clear();
232232

233233
this.itemTags = this.filterTagsByType(
234-
(this.item?.TagVOs || [])
235-
.map((tag) => this.allTags?.find((t) => t.tagId === tag.tagId))
236-
.filter(
237-
// Filter out tags that are now null from deletion
238-
(tag) => tag?.name,
239-
),
234+
(this.item?.TagVOs || []).filter(
235+
// Filter out tags that are now null from deletion
236+
(tag) => tag?.name,
237+
),
240238
);
241239

242240
if (!this.item?.TagVOs?.length) {

0 commit comments

Comments
 (0)