fix collapsing of note revisions

This commit is contained in:
zadam 2020-04-27 22:13:32 +02:00
parent cba7e5a59f
commit 56ce23fc36

View File

@ -15,7 +15,7 @@ import Mutex from "../services/mutex.js";
*/ */
export default class Component { export default class Component {
constructor() { constructor() {
this.componentId = `comp-${this.constructor.name}-` + utils.randomString(6); this.componentId = `comp-` + utils.randomString(8);
/** @type Component[] */ /** @type Component[] */
this.children = []; this.children = [];
this.initialized = Promise.resolve(); this.initialized = Promise.resolve();