From 89e33bbb70a77b68cf27b26601d5d61708a8f3fe Mon Sep 17 00:00:00 2001 From: Kaituo Li Date: Mon, 10 Jun 2024 08:54:48 -0700 Subject: [PATCH] fix warning msg Signed-off-by: Kaituo Li --- public/pages/DetectorDetail/containers/DetectorDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/pages/DetectorDetail/containers/DetectorDetail.tsx b/public/pages/DetectorDetail/containers/DetectorDetail.tsx index 2b5db8a7..0275ca62 100644 --- a/public/pages/DetectorDetail/containers/DetectorDetail.tsx +++ b/public/pages/DetectorDetail/containers/DetectorDetail.tsx @@ -211,7 +211,7 @@ export const DetectorDetail = (props: DetectorDetailProps) => { await dispatch(getAliases('', dataSourceId)); } catch (error) { console.error(error); - core.notifications.toasts.addDanger('Error getting all indices'); + core.notifications.toasts.addDanger('Error getting all indices or aliases'); } }; // only need to check if indices exist after detector finishes loading