FIX: Upgrade All button shouldn't be enabled while upgrading
This commit is contained in:
parent
bc9fa0c743
commit
f852ac87b4
File diff suppressed because one or more lines are too long
|
|
@ -92,7 +92,7 @@ export default Ember.Controller.extend({
|
||||||
|
|
||||||
if (this.get("multiUpgrade")) {
|
if (this.get("multiUpgrade")) {
|
||||||
this.updateAttribute("upgrading", true);
|
this.updateAttribute("upgrading", true);
|
||||||
return Repo.upgradeAll().finally(() => this.updateAttribute("upgrading", false));
|
return Repo.upgradeAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
const repo = this.get('model')[0];
|
const repo = this.get('model')[0];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue