load initial tree from note cache

This commit is contained in:
zadam
2020-12-11 22:06:12 +01:00
parent 35e47f866a
commit 5098dda376
7 changed files with 108 additions and 125 deletions

View File

@@ -14,6 +14,8 @@ class Attribute {
this.type = row.type;
/** @param {string} */
this.name = row.name.toLowerCase();
/** @param {int} */
this.position = row.position;
if (typeof row.value !== 'string') {
row.value = JSON.stringify(row.value);