mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +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"
|
||||
class="ml-auto"
|
||||
: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)"
|
||||
/>
|
||||
</ListItem>
|
||||
|
|
Loading…
Reference in a new issue