diff --git a/frontend/src/reactQuery.ts b/frontend/src/reactQuery.ts index d65baa27f..94616dd3f 100644 --- a/frontend/src/reactQuery.ts +++ b/frontend/src/reactQuery.ts @@ -9,7 +9,8 @@ export const queryClient = new QueryClient({ defaultOptions: { queries: { refetchOnWindowFocus: false, - retry: 1 + retry: 1, + cacheTime: 1200000 } } }); diff --git a/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx b/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx index da0037ea8..0843810f7 100644 --- a/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx +++ b/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx @@ -161,11 +161,11 @@ export const DashboardEnvOverview = ({ onEnvChange }: { onEnvChange: any }) => {
{!isDashboardSecretEmpty && ( - +
{Object.keys(secrets?.secrets || {}).map((key, index) => ( { const syntaxHighlight = useCallback((val: string) => { - if (!val) + if (val === undefined) return ( missing ); @@ -60,7 +60,7 @@ const DashboardInput = ({ +
@@ -122,7 +122,7 @@ export const EnvComparisonRow = ({ ); return ( -
{index + 1}