DEV: Allow to visit the upgrade page while it's running
This commit is contained in:
parent
5498a767da
commit
dc389ce058
|
|
@ -8,7 +8,8 @@ export default class RepoStatus extends Component {
|
|||
|
||||
get upgradeDisabled() {
|
||||
if (this.args.upgradingRepo) {
|
||||
return true;
|
||||
// Allow to visit the upgrade page while it's running
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this.args.managerRepo) {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</p>
|
||||
{{else}}
|
||||
<button
|
||||
disabled={{upgradeAllButtonDisabled}}
|
||||
disabled={{this.upgradeAllButtonDisabled}}
|
||||
id="upgrade-all"
|
||||
class="btn"
|
||||
{{action "upgradeAllButton"}}
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
{{#each this.model as |repo|}}
|
||||
<RepoStatus
|
||||
@repo={{repo}}
|
||||
@upgradingRepo={{this.upgrading}}
|
||||
@upgradingRepo={{repo.upgrading}}
|
||||
@managerRepo={{this.managerRepo}}
|
||||
/>
|
||||
{{/each}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue