mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
note content refactoring, WIP
This commit is contained in:
@@ -8,7 +8,10 @@ class Entity {
|
||||
*/
|
||||
constructor(row = {}) {
|
||||
for (const key in row) {
|
||||
this[key] = row[key];
|
||||
// ! is used when joint-fetching notes and note_contents objects for performance
|
||||
if (!key.startsWith('!')) {
|
||||
this[key] = row[key];
|
||||
}
|
||||
}
|
||||
|
||||
if ('isDeleted' in this) {
|
||||
|
||||
Reference in New Issue
Block a user