Skip to content

Commit

Permalink
fix: showing saving status on first load
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Dec 27, 2021
1 parent 8db81d5 commit 07678bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/views/editor/editor_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export class EditorViewCtrl extends PureViewCtrl<unknown, EditorState> {
) {
this.showSavingStatus();
} else if (
this.state.noteStatus &&
note.lastSyncEnd!.getTime() > note.lastSyncBegan!.getTime()
) {
this.showAllChangesSavedStatus();
Expand Down

0 comments on commit 07678bb

Please sign in to comment.