Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Nov 14, 2023
1 parent 9b99871 commit 567ad0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/atoms/Edits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Edits {
resetChanges = atom(null, (get, set) => {
set(this.hasChanges, false)
const copy = new Edits(this.entryId)
copy.applyRemoteUpdate(this.getRemoteUpdate())
if (this.sourceVector) copy.applyRemoteUpdate(this.getRemoteUpdate())
set(entryEditsAtoms(this.entryId), copy)
})
/** Whether we have a draft loaded */
Expand Down

0 comments on commit 567ad0c

Please sign in to comment.