From 63320fe58b50ad523b091be971f282aad8d2f96c Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Wed, 12 Feb 2025 23:39:01 -0800 Subject: [PATCH] improve update indicator style and also put on home screen --- frontend/src/components/resources/stack/index.tsx | 6 +++--- frontend/src/pages/home/dashboard.tsx | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/resources/stack/index.tsx b/frontend/src/components/resources/stack/index.tsx index 329734ddb..b1b562e01 100644 --- a/frontend/src/components/resources/stack/index.tsx +++ b/frontend/src/components/resources/stack/index.tsx @@ -468,9 +468,9 @@ export const UpdateAvailable = ({ return ( - @@ -485,7 +485,7 @@ export const UpdateAvailable = ({ Available )} - + {info?.services diff --git a/frontend/src/pages/home/dashboard.tsx b/frontend/src/pages/home/dashboard.tsx index bfdde5fba..71310f226 100644 --- a/frontend/src/pages/home/dashboard.tsx +++ b/frontend/src/pages/home/dashboard.tsx @@ -21,6 +21,8 @@ import { DataTable, SortableHeader } from "@ui/data-table"; import { AlertTriangle, Box, Circle, History } from "lucide-react"; import { PieChart } from "react-minimal-pie-chart"; import { Link } from "react-router-dom"; +import { UpdateAvailable as StackUpdateAvailable } from "@components/resources/stack"; +import { UpdateAvailable as DeploymentUpdateAvailable } from "@components/resources/deployment"; export const Dashboard = () => { const noResources = useNoResources(); @@ -143,10 +145,12 @@ const RecentCard = ({ )} >
-
+
+ {type === "Deployment" && } + {type === "Stack" && }