) => ({
...currentState,
@@ -696,6 +700,7 @@ const Dashboard = () => {
viewAirgapUploadError={() => toggleViewAirgapUploadError()}
showAutomaticUpdatesModal={showAutomaticUpdatesModal}
noUpdatesAvalable={state.noUpdatesAvalable}
+ adminConsoleMetadata={props.adminConsoleMetadata}
/>
diff --git a/web/src/features/Dashboard/components/DashboardVersionCard.tsx b/web/src/features/Dashboard/components/DashboardVersionCard.tsx
index 928966214d..5ae7d14fa3 100644
--- a/web/src/features/Dashboard/components/DashboardVersionCard.tsx
+++ b/web/src/features/Dashboard/components/DashboardVersionCard.tsx
@@ -13,15 +13,14 @@ import ShowLogsModal from "@src/components/modals/ShowLogsModal";
import DeployWarningModal from "@src/components/shared/modals/DeployWarningModal";
import SkipPreflightsModal from "@src/components/shared/modals/SkipPreflightsModal";
import classNames from "classnames";
-import { getReadableGitOpsProviderName } from "@src/utilities/utilities";
-import { useNextAppVersionWithIntercept } from "../api/useNextAppVersion";
-import { useSelectedApp } from "@features/App";
-
import {
- Utilities,
getPreflightResultState,
+ getReadableGitOpsProviderName,
secondsAgo,
+ Utilities,
} from "@src/utilities/utilities";
+import { useNextAppVersionWithIntercept } from "../api/useNextAppVersion";
+import { useSelectedApp } from "@features/App";
import { Repeater } from "@src/utilities/repeater";
import "@src/scss/components/watches/DashboardCard.scss";
@@ -39,7 +38,7 @@ import { AirgapUploader } from "@src/utilities/airgapUploader";
import EditConfigIcon from "@components/shared/EditConfigIcon";
type Props = {
- adminConsoleMetadata?: Metadata;
+ adminConsoleMetadata: Metadata | null;
airgapUploader: AirgapUploader | null;
airgapUploadError: string | null;
checkingForUpdates: boolean;
@@ -1505,19 +1504,21 @@ const DashboardVersionCard = (props: Props) => {
)}
-
-
-
- Configure automatic updates
-
-
+ {!props.adminConsoleMetadata?.isEmbeddedCluster && (
+
+
+
+ Configure automatic updates
+
+
+ )}
)}