fix(app): fix app stuck in loading [EE-7014] (#11651)

Co-authored-by: testa113 <testa113>
pull/11658/head
Ali 2024-04-22 13:11:41 +12:00 committed by GitHub
parent ffc66647f8
commit ea61f36e5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ export function RateLimits({
if (
!environmentQuery.data ||
registryQuery.isLoading ||
registryQuery.isInitialLoading ||
!isDockerHubRegistry
) {
return null;

View File

@ -75,12 +75,12 @@ export function useApplicationYAML() {
}, [applicationYAML, autoScalarYAML, servicesYAML]);
const isApplicationYAMLLoading =
applicationQuery.isLoading ||
servicesQuery.isLoading ||
autoScalarsQuery.isLoading ||
applicationYAMLQuery.isLoading ||
servicesYAMLQuery.isLoading ||
autoScalarYAMLQuery.isLoading;
applicationQuery.isInitialLoading ||
servicesQuery.isInitialLoading ||
autoScalarsQuery.isInitialLoading ||
applicationYAMLQuery.isInitialLoading ||
servicesYAMLQuery.isInitialLoading ||
autoScalarYAMLQuery.isInitialLoading;
return { fullApplicationYaml, isApplicationYAMLLoading };
}