mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
fix placing notes onto relation map by drag & drop
This commit is contained in:
@@ -512,7 +512,7 @@ export default class RelationMapTypeWidget extends TypeWidget {
|
||||
|
||||
await server.put(`notes/${sourceNoteId}/relations/${name}/to/${targetNoteId}`);
|
||||
|
||||
await this.refresh();
|
||||
this.loadNotesAndRelations();
|
||||
}
|
||||
|
||||
saveData() {
|
||||
@@ -620,7 +620,7 @@ export default class RelationMapTypeWidget extends TypeWidget {
|
||||
|
||||
this.saveData();
|
||||
|
||||
await this.refresh();
|
||||
this.loadNotesAndRelations();
|
||||
}
|
||||
|
||||
getMousePosition(evt) {
|
||||
|
||||
Reference in New Issue
Block a user