From c7659846d8e229435da5db1d360f60851cd54847 Mon Sep 17 00:00:00 2001 From: tirestay Date: Thu, 21 Mar 2024 11:54:10 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E6=8E=A7=E5=88=B6=E5=99=A8=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E7=BB=84=E4=BB=B6=E8=8E=B7=E5=8F=96url?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/app/pages/DashBoardPage/utils/widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/pages/DashBoardPage/utils/widget.ts b/frontend/src/app/pages/DashBoardPage/utils/widget.ts index 4a46330ba..89a440fd7 100644 --- a/frontend/src/app/pages/DashBoardPage/utils/widget.ts +++ b/frontend/src/app/pages/DashBoardPage/utils/widget.ts @@ -600,7 +600,7 @@ export const getWidgetMap = ( ...(content.config.controllerDate as any), startTime: { relativeOrExact: TimeFilterValueCategory.Exact, - exactValue: formatTime(_value as any, TIME_FORMATTER), + exactValue: formatTime(_value?.[0], TIME_FORMATTER), }, }; break;