mirror of https://github.com/portainer/portainer
fix(app): fix app stuck in loading [EE-7014] (#11651)
Co-authored-by: testa113 <testa113>pull/11658/head
parent
ffc66647f8
commit
ea61f36e5d
|
@ -38,7 +38,7 @@ export function RateLimits({
|
|||
|
||||
if (
|
||||
!environmentQuery.data ||
|
||||
registryQuery.isLoading ||
|
||||
registryQuery.isInitialLoading ||
|
||||
!isDockerHubRegistry
|
||||
) {
|
||||
return null;
|
||||
|
|
|
@ -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 };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue