We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc87c4 commit f8f14a9Copy full SHA for f8f14a9
src/containers/Header/Header.tsx
@@ -67,15 +67,15 @@ function Header() {
67
const isDatabasePage = location.pathname === '/tenant';
68
const isClustersPage = location.pathname === '/clusters';
69
70
- const {isFetching: isClustersFetching, error: clustersError} =
+ const {isLoading: isClustersLoading, error: clustersError} =
71
clustersApi.useGetClustersListQuery(undefined, {
72
skip: !isClustersPage,
73
});
74
75
const isAddClusterAvailable =
76
useAddClusterFeatureAvailable() &&
77
uiFactory.onAddCluster !== undefined &&
78
- !isClustersFetching &&
+ !isClustersLoading &&
79
!isAccessError(clustersError);
80
81
const isEditDBAvailable = useEditDatabaseFeatureAvailable() && uiFactory.onEditDB !== undefined;
0 commit comments