Skip to content

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

Fixing issue with showing calendar and geo icons for tags in the tag library

Ilian Sapundshiev0dc1354ce7b4
diff --git a/app/components/TagContainer.js b/app/components/TagContainer.js
index c069003ca..1b613fd10 100644
--- a/app/components/TagContainer.js
+++ b/app/components/TagContainer.js
@@ -72,8 +72,12 @@ const TagContainer = React.memo((props: Props) => {
const { title } = tag;
// Check if tag is plus code
- const isGeoTag = isPlusCode(title); // || isLatLong
- const isTagDate = !isGeoTag && isDateTimeTag(title);
+ let isGeoTag = false;
+ let isTagDate = false;
+ if (!tagGroup) {
+ isGeoTag = isPlusCode(title); // || isLatLong
+ isTagDate = !isGeoTag && isDateTimeTag(title);
+ }
allTags.some((currentTag: Tag) => {
if (currentTag.title === title) {