Skip to content

Commit 33b596a

Browse files
silverkszloelzody
authored andcommitted
fix: Emit files:node:updated event on UI_Save
Handle UI_Save post message to update file info and emit files:node:updated event, allowing other components like the versions sidebar to react to document saves. Signed-off-by: silver <s.szmajduch@posteo.de>
1 parent 80af25d commit 33b596a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/view/Office.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,9 @@ export default {
513513
FilesAppIntegration.updateFileInfo(undefined, Date.now())
514514
}
515515
break
516+
case 'UI_Save':
517+
FilesAppIntegration.updateFileInfo(undefined, Date.now())
518+
break
516519
case 'Clicked_Button':
517520
this.buttonClicked(args)
518521
break

0 commit comments

Comments
 (0)