mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Fix button loading spinner when activating repos (#2333)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2234 There is no internal `repo.id` for not enabled repos. Use the remote forge repo id instead.
This commit is contained in:
parent
2e7f969fac
commit
c5240d8ce0
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
v-if="!repo.active"
|
v-if="!repo.active"
|
||||||
class="ml-auto"
|
class="ml-auto"
|
||||||
:text="$t('repo.enable.enable')"
|
:text="$t('repo.enable.enable')"
|
||||||
:is-loading="isActivatingRepo && repoToActivate?.id === repo.id"
|
:is-loading="isActivatingRepo && repoToActivate?.forge_remote_id === repo.forge_remote_id"
|
||||||
@click="activateRepo(repo)"
|
@click="activateRepo(repo)"
|
||||||
/>
|
/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
Loading…
Reference in a new issue