1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-10-31 00:07:48 +02:00

Desktop: Save geo-location when saving note

This commit is contained in:
Laurent Cozic
2021-02-01 21:44:13 +00:00
parent 1f536ba3d9
commit ef281e8f74

View File

@@ -28,6 +28,8 @@ export const runtime = (): CommandRuntime => {
newNote = await Note.save(newNote, { provisional: true });
void Note.updateGeolocation(newNote.id);
utils.store.dispatch({
type: 'NOTE_SELECT',
id: newNote.id,