From c39d6b2b79ef3bb2d704077c42cb914ddd6355d3 Mon Sep 17 00:00:00 2001 From: SungChul Hong Date: Mon, 14 Oct 2024 17:36:46 +0900 Subject: [PATCH] feat: disable LLM Chat button based on endpoint status --- react/src/pages/EndpointDetailPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/react/src/pages/EndpointDetailPage.tsx b/react/src/pages/EndpointDetailPage.tsx index e22cf1dff7..f67165e6c9 100644 --- a/react/src/pages/EndpointDetailPage.tsx +++ b/react/src/pages/EndpointDetailPage.tsx @@ -309,6 +309,7 @@ const EndpointDetailPage: React.FC = () => { onClick={() => { setOpenChatModal(true); }} + disabled={endpoint?.status !== 'HEALTHY'} />