1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(helm): ensure the form is not 'dirty', when the values are unchanged [r8s-421] (#902)

This commit is contained in:
Ali 2025-07-17 12:07:20 +12:00 committed by GitHub
parent 27dc454271
commit 68cfcfd0a4

View file

@ -27,6 +27,7 @@ export function useHelmHTTPChartList(
// one request takes a long time, so fail early to get feedback to the user faster
retry: false,
...withGlobalError(`Unable to retrieve Helm charts from ${repository}`),
cacheTime: 1000 * 60 * 60 * 8, // 8 hours so that the chart list populates faster (keep stale time the same to always revalidate)
});
}