Skip to content

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

fixing issue with tags with the same name

Ilian Sapundshieve5eb9190747f
diff --git a/app/components/EntryProperties.js b/app/components/EntryProperties.js
index 213769866..819c13765 100644
--- a/app/components/EntryProperties.js
+++ b/app/components/EntryProperties.js
@@ -366,7 +366,7 @@ class EntryProperties extends Component<Props, State> {
renderTags = (tag: Object) => (
<TagContainer
- key={tag.title}
+ key={tag.id ? tag.id : tag.title}
defaultTextColor={this.props.settings.tagTextColor}
defaultBackgroundColor={this.props.settings.tagBackgroundColor}
tag={tag}