mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
many changes related to #1192:
- use CSS contain wherever possible to reduce subtrees of forced reflows - reduced dependency between note and note_contents updates which will reduce number of updates to components - optimization of "many rows" querying
This commit is contained in:
@@ -64,8 +64,8 @@ export default class NoteInfoWidget extends CollapsibleWidget {
|
||||
.attr("title", noteComplement.dateCreated);
|
||||
|
||||
this.$dateModified
|
||||
.text(noteComplement.dateModified.substr(0, 16))
|
||||
.attr("title", noteComplement.dateCreated);
|
||||
.text(noteComplement.combinedDateModified.substr(0, 16))
|
||||
.attr("title", noteComplement.combinedDateModified);
|
||||
|
||||
this.$type.text(note.type);
|
||||
|
||||
@@ -78,7 +78,7 @@ export default class NoteInfoWidget extends CollapsibleWidget {
|
||||
}
|
||||
|
||||
entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||
if (loadResults.isNoteReloaded(this.noteId) || loadResults.isNoteContentReloaded(this.noteId)) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user