Skip to content

Commit

Permalink
Fix button loading spinner when activating repos (#2333)
Browse files Browse the repository at this point in the history
Fixes: #2234

There is no internal `repo.id` for not enabled repos. Use the remote
forge repo id instead.
  • Loading branch information
xoxys committed Aug 27, 2023
1 parent 2e7f969 commit c5240d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/RepoAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c5240d8

Please sign in to comment.