fixed issue with tag assign mode (#2570)

This commit is contained in:
Matthew Yung 2024-06-26 13:35:53 -07:00 committed by GitHub
parent aaf1f237cd
commit 4735adcb66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,7 @@ export const ExplorerTagBar = () => {
// extract the list of tags from each object in the selected items
const targetsTagList = Array.from(explorer.selectedItems.entries()).map(
// issues with type here. unsure as to why, and not causing any noticeable errors, so ignoring for now with as any
(item) => (item[0] as any).object.item.tags
(item) => (item[0] as any).item.object.tags
);
// iterate through each tag in the selected items and check if the tag we want to assign is already assigned