@@ -25,7 +25,7 @@ export function Operations({database}: OperationsProps) {
25
25
const { kind, searchValue, pageSize, pageToken, handleKindChange, handleSearchChange} =
26
26
useOperationsQueryParams ( ) ;
27
27
28
- const { data, isFetching , error, refetch} = operationsApi . useGetOperationListQuery (
28
+ const { data, isLoading , error, refetch} = operationsApi . useGetOperationListQuery (
29
29
{ database, kind, page_size : pageSize , page_token : pageToken } ,
30
30
{
31
31
pollingInterval : autoRefreshInterval ,
@@ -53,13 +53,13 @@ export function Operations({database}: OperationsProps) {
53
53
searchValue = { searchValue }
54
54
entitiesCountCurrent = { filteredOperations . length }
55
55
entitiesCountTotal = { data ?. operations ?. length }
56
- entitiesLoading = { isFetching }
56
+ entitiesLoading = { isLoading }
57
57
handleKindChange = { handleKindChange }
58
58
handleSearchChange = { handleSearchChange }
59
59
/>
60
60
</ TableWithControlsLayout . Controls >
61
61
{ error ? < ResponseError error = { error } /> : null }
62
- < TableWithControlsLayout . Table loading = { isFetching } className = { b ( 'table' ) } >
62
+ < TableWithControlsLayout . Table loading = { isLoading } className = { b ( 'table' ) } >
63
63
{ data ? (
64
64
< ResizeableDataTable
65
65
columns = { getColumns ( { database, refreshTable : refetch } ) }
0 commit comments