aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/src/services/Sidebar.js2
-rw-r--r--apps/systemtags/src/systemtagsinfoview.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/src/services/Sidebar.js b/apps/files/src/services/Sidebar.js
index 8f02a1b51ab..2bb836272fa 100644
--- a/apps/files/src/services/Sidebar.js
+++ b/apps/files/src/services/Sidebar.js
@@ -67,7 +67,7 @@ export default class Sidebar {
}
registerSecondaryView(view) {
- const hasDuplicate = this.#state.views.findIndex(check => check.cid === view.cid) > -1
+ const hasDuplicate = this.#state.views.findIndex(check => check.name === view.name) > -1
if (!hasDuplicate) {
this.#state.views.push(view)
return true
diff --git a/apps/systemtags/src/systemtagsinfoview.js b/apps/systemtags/src/systemtagsinfoview.js
index 2ec1ba0fef4..d5b8b2f2720 100644
--- a/apps/systemtags/src/systemtagsinfoview.js
+++ b/apps/systemtags/src/systemtagsinfoview.js
@@ -31,6 +31,7 @@
_rendered: false,
className: 'systemTagsInfoView',
+ name: 'systemTags',
/**
* @type OC.SystemTags.SystemTagsInputField