Skip to content

Commit

Permalink
Fix: remove "modification annulée" display when going in an nl versio…
Browse files Browse the repository at this point in the history
…n of a decli

Co-authored-by: Laura Bergoens <[email protected]>
Co-authored-by: Jérémie Jadé <[email protected]>
Co-authored-by: Fael Bassetti <[email protected]>
  • Loading branch information
4 people committed Oct 9, 2024
1 parent f7cea34 commit f6b7db6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export default class LocalizedPrototypeRoute extends Route {

resetController(controller, _isExiting, _transition) {
super.resetController(controller, _isExiting, _transition);
controller.send('cancelEdit');
if (controller.edition) controller.send('cancelEdit');
}
}

0 comments on commit f6b7db6

Please sign in to comment.