Skip to content

Commit

Permalink
Merge pull request #1197 from PrefectHQ/cloud-hooks-loading
Browse files Browse the repository at this point in the history
Bugfix: Add loading state to the cloud hooks table
  • Loading branch information
ThatGalNatalie authored Jan 5, 2022
2 parents 2180801 + ea81d1f commit 8295769
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/TeamSettings/CloudHooks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export default {
sortable: false,
width: '20%'
}
]
],
hooksLoaded: false
}
},
computed: {
Expand Down Expand Up @@ -255,7 +256,7 @@ export default {
</script>
<template>
<ManagementLayout :show="!isLoadingTable" control-show>
<ManagementLayout show control-show>
<template #title>Cloud Hooks</template>
<template #subtitle>
<div v-if="!hasPermission('update', 'cloud-hook')">
Expand Down Expand Up @@ -354,6 +355,7 @@ export default {
prevIcon: 'keyboard_arrow_left',
nextIcon: 'keyboard_arrow_right'
}"
:loading="!isLoadingTable"
no-data-text="No Cloud Hooks found."
><!-- HEADERS -->
<template #header.name="{ header }">
Expand Down

0 comments on commit 8295769

Please sign in to comment.