Skip to content

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

fix Map not shown in entry properties of a folder with geo tag

sytolk3da06db8bef6
diff --git a/src/renderer/components/EntryProperties.tsx b/src/renderer/components/EntryProperties.tsx
index 7ea484ccb..a3d4e8c80 100644
--- a/src/renderer/components/EntryProperties.tsx
+++ b/src/renderer/components/EntryProperties.tsx
@@ -496,7 +496,9 @@ function EntryProperties(props: Props) {
}
}
- const geoLocation: any = getGeoLocation(openedEntry.tags);
+ const geoLocation: any = getGeoLocation(
+ openedEntry.isFile ? openedEntry.tags : openedEntry.meta.tags,
+ );
const isCloudLocation = openedEntry.url && openedEntry.url.length > 5;