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