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 25b7b12 commit e41fcb4Copy full SHA for e41fcb4
src/containers/Header/Header.tsx
@@ -73,7 +73,7 @@ function Header() {
73
74
const {isLoading: isClustersLoading, error: clustersError} =
75
clustersApi.useGetClustersListQuery(undefined, {
76
- skip: !isClustersPage,
+ skip: !isClustersPage || !capabilitiesLoaded,
77
});
78
79
const isAddClusterAvailable =
@@ -93,7 +93,9 @@ function Header() {
93
: skipToken;
94
95
const {currentData: databaseData, isLoading: isDatabaseDataLoading} =
96
- tenantApi.useGetTenantInfoQuery(params);
+ tenantApi.useGetTenantInfoQuery(params, {
97
+ skip: !capabilitiesLoaded,
98
+ });
99
100
// Show Monitoring only when:
101
// - ControlPlane exists AND has a non-empty id
0 commit comments