Skip to content

Commit ba48ffb

Browse files
silverkszlobackportbot[bot]
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 6a1f771 commit ba48ffb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/view/Office.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,9 @@ export default {
503503
FilesAppIntegration.updateFileInfo(undefined, Date.now())
504504
}
505505
break
506+
case 'UI_Save':
507+
FilesAppIntegration.updateFileInfo(undefined, Date.now())
508+
break
506509
case 'Clicked_Button':
507510
this.buttonClicked(args)
508511
break

0 commit comments

Comments
 (0)