diff --git a/src/containers/Operations/Operations.tsx b/src/containers/Operations/Operations.tsx
index ffa916effb..45f69be6d0 100644
--- a/src/containers/Operations/Operations.tsx
+++ b/src/containers/Operations/Operations.tsx
@@ -25,7 +25,7 @@ export function Operations({database}: OperationsProps) {
const {kind, searchValue, pageSize, pageToken, handleKindChange, handleSearchChange} =
useOperationsQueryParams();
- const {data, isFetching, error, refetch} = operationsApi.useGetOperationListQuery(
+ const {data, isLoading, error, refetch} = operationsApi.useGetOperationListQuery(
{database, kind, page_size: pageSize, page_token: pageToken},
{
pollingInterval: autoRefreshInterval,
@@ -53,13 +53,13 @@ export function Operations({database}: OperationsProps) {
searchValue={searchValue}
entitiesCountCurrent={filteredOperations.length}
entitiesCountTotal={data?.operations?.length}
- entitiesLoading={isFetching}
+ entitiesLoading={isLoading}
handleKindChange={handleKindChange}
handleSearchChange={handleSearchChange}
/>
{error ? : null}
-
+
{data ? (
{
const [autoRefreshInterval] = useAutoRefreshInterval();
const {
currentData = [],
- isFetching,
+ isLoading,
error,
} = tenantApi.useGetClusterConfigQuery({database}, {pollingInterval: autoRefreshInterval});
@@ -113,7 +113,7 @@ export const Configs = ({database}: ConfigsProps) => {
placeholder={i18n('search-placeholder')}
/>
-
+
{error ? (
) : (