FIX: Upgrade All button shouldn't be enabled while upgrading

This commit is contained in:
OsamaSayegh 2018-06-27 12:07:32 +03:00
parent bc9fa0c743
commit f852ac87b4
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -92,7 +92,7 @@ export default Ember.Controller.extend({
if (this.get("multiUpgrade")) {
this.updateAttribute("upgrading", true);
return Repo.upgradeAll().finally(() => this.updateAttribute("upgrading", false));
return Repo.upgradeAll();
}
const repo = this.get('model')[0];