We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c59e5ca + 4a3bca5 commit 6eae006Copy full SHA for 6eae006
src/app/file-browser/components/edit-tags/edit-tags.component.ts
@@ -231,12 +231,10 @@ export class EditTagsComponent
231
this.itemTagsById.clear();
232
233
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
- ),
+ (this.item?.TagVOs || []).filter(
+ // Filter out tags that are now null from deletion
+ (tag) => tag?.name,
+ ),
240
);
241
242
if (!this.item?.TagVOs?.length) {
0 commit comments