Skip to content

Build your personal knowledge base with Trilium Notes

fix collapsing of note revisions

zadam56ce23fc3602
diff --git a/src/public/app/widgets/component.js b/src/public/app/widgets/component.js
index c5d037d0d6..9ca2102481 100644
--- a/src/public/app/widgets/component.js
+++ b/src/public/app/widgets/component.js
@@ -15,7 +15,7 @@ import Mutex from "../services/mutex.js";
*/
export default class Component {
constructor() {
- this.componentId = `comp-${this.constructor.name}-` + utils.randomString(6);
+ this.componentId = `comp-` + utils.randomString(8);
/** @type Component[] */
this.children = [];
this.initialized = Promise.resolve();