Skip to content

Commit 5afe54f

Browse files
committed
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 8ba99c7 commit 5afe54f

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
@@ -512,6 +512,9 @@ export default {
512512
FilesAppIntegration.updateFileInfo(undefined, Date.now())
513513
}
514514
break
515+
case 'UI_Save':
516+
FilesAppIntegration.updateFileInfo(undefined, Date.now())
517+
break
515518
case 'Clicked_Button':
516519
this.buttonClicked(args)
517520
break

0 commit comments

Comments
 (0)