@@ -25,7 +25,7 @@ export function Operations({database}: OperationsProps) {
2525 const { kind, searchValue, pageSize, pageToken, handleKindChange, handleSearchChange} =
2626 useOperationsQueryParams ( ) ;
2727
28- const { data, isFetching , error, refetch} = operationsApi . useGetOperationListQuery (
28+ const { data, isLoading , error, refetch} = operationsApi . useGetOperationListQuery (
2929 { database, kind, page_size : pageSize , page_token : pageToken } ,
3030 {
3131 pollingInterval : autoRefreshInterval ,
@@ -53,13 +53,13 @@ export function Operations({database}: OperationsProps) {
5353 searchValue = { searchValue }
5454 entitiesCountCurrent = { filteredOperations . length }
5555 entitiesCountTotal = { data ?. operations ?. length }
56- entitiesLoading = { isFetching }
56+ entitiesLoading = { isLoading }
5757 handleKindChange = { handleKindChange }
5858 handleSearchChange = { handleSearchChange }
5959 />
6060 </ TableWithControlsLayout . Controls >
6161 { error ? < ResponseError error = { error } /> : null }
62- < TableWithControlsLayout . Table loading = { isFetching } className = { b ( 'table' ) } >
62+ < TableWithControlsLayout . Table loading = { isLoading } className = { b ( 'table' ) } >
6363 { data ? (
6464 < ResizeableDataTable
6565 columns = { getColumns ( { database, refreshTable : refetch } ) }
0 commit comments