From c456b6701833b68a17890375be4375fbb40b7dfc Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sun, 11 Aug 2024 19:28:05 -0700 Subject: [PATCH] ListStackServices refetch interval --- frontend/src/components/resources/stack/services.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/resources/stack/services.tsx b/frontend/src/components/resources/stack/services.tsx index 28141ea6f..1a7aa255e 100644 --- a/frontend/src/components/resources/stack/services.tsx +++ b/frontend/src/components/resources/stack/services.tsx @@ -23,7 +23,11 @@ export const StackServices = ({ titleOther: ReactNode; }) => { const state = useStack(id)?.info.state ?? Types.StackState.Unknown; - const services = useRead("ListStackServices", { stack: id }).data; + const services = useRead( + "ListStackServices", + { stack: id }, + { refetchInterval: 5000 } + ).data; if ( !services || services.length === 0 ||