mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00:00
fixed issue with tag assign mode (#2570)
This commit is contained in:
parent
aaf1f237cd
commit
4735adcb66
|
@ -154,7 +154,7 @@ export const ExplorerTagBar = () => {
|
||||||
// extract the list of tags from each object in the selected items
|
// extract the list of tags from each object in the selected items
|
||||||
const targetsTagList = Array.from(explorer.selectedItems.entries()).map(
|
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
|
// 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
|
// iterate through each tag in the selected items and check if the tag we want to assign is already assigned
|
||||||
|
|
Loading…
Reference in a new issue