Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(frontend): Update last saved timestamp when document is saved
Fixes: #4343

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- authored and backportbot-nextcloud[bot] committed Jun 28, 2023
commit 03374730965a97bc290271f5f8140aa9cdc80b00
1 change: 1 addition & 0 deletions src/services/SyncService.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ class SyncService {
manualSave,
})
this.emit('stateChange', { dirty: false })
this.connection.document.lastSavedVersionTime = Date.now() / 1000
logger.debug('[SyncService] saved', response)
const { document, sessions } = response.data
this.emit('save', { document, sessions })
Expand Down