🐛 Fixed unable to exit code injection settings without save

no refs

After making changes to code injection settings, currently exiting bricks the Admin due to incorrect save task naming in code injection settings. The fix updates the name for saveTask
This commit is contained in:
Rish 2021-02-11 21:09:45 +05:30
parent adc4e1e077
commit d52347118c

View File

@ -25,8 +25,8 @@ export default Controller.extend({
this.set('leaveSettingsTransition', transition);
// if a save is running, wait for it to finish then transition
if (this.save.isRunning) {
return this.save.last.then(() => {
if (this.saveTask.isRunning) {
return this.saveTask.last.then(() => {
transition.retry();
});
}