Skip to content

Commit

Permalink
fix: prevent double confirmation when navigating between entries with…
Browse files Browse the repository at this point in the history
… unsaved data
  • Loading branch information
amirch1 committed Aug 14, 2017
1 parent 0752a25 commit bbf27ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ export class EntryStore implements OnDestroy {
header: this._appLocalization.get('applications.content.entryDetails.captions.cancelEdit'),
message: this._appLocalization.get('applications.content.entryDetails.captions.discard'),
accept: () => {
this._entryIsDirty = false;
observer.next({allowed: true});
observer.complete();
},
Expand Down

0 comments on commit bbf27ba

Please sign in to comment.