Skip to content

Commit

Permalink
fix: use is-loading rather than fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
craigyu committed Nov 13, 2024
1 parent 21d65ab commit bd9c257
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/ManagePermissionsTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ const getTableRows = () => {
const isQueryLoading = (): boolean => {
switch (props.authGroup) {
case "FAM_ADMIN":
return appAdminQuery.isFetching.value;
return appAdminQuery.isLoading.value;
case "APP_ADMIN":
return appUserQuery.isFetching.value;
return appUserQuery.isLoading.value;
case "DELEGATED_ADMIN":
return delegatedAdminQuery.isFetching.value;
return delegatedAdminQuery.isLoading.value;
default:
return false;
}
Expand Down

0 comments on commit bd9c257

Please sign in to comment.