Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix refreshTagsFromLocation

sytolk4014a1f671c9
diff --git a/app/components/TagLibrary.tsx b/app/components/TagLibrary.tsx
index fff2adbbd..9c933751d 100644
--- a/app/components/TagLibrary.tsx
+++ b/app/components/TagLibrary.tsx
@@ -182,7 +182,7 @@ function TagLibrary(props: Props) {
...group,
locationId: location.uuid
}));
- setTagGroups(importTagGroups(newGroups, tg, false));
+ setTagGroups(importTagGroups(newGroups, getTagLibrary(), false));
} else {
setTagGroups(getTagLibrary());
}