From 4afb9f113d717ad5f4b5f5a8e225653400926f8a Mon Sep 17 00:00:00 2001 From: zuo <58384836+xxzuo@users.noreply.github.com> Date: Thu, 9 May 2024 19:23:10 +0800 Subject: [PATCH] [Fix-398][UI] Adjust input parameter type (#399) --- datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx b/datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx index 75a798b30..967fed812 100755 --- a/datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx +++ b/datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx @@ -108,7 +108,7 @@ const Dashboard = ({ datasourceId }: TJobs) => { const [startTime, setStartTime] = useState(); const [endTime, setEndTime] = useState(); - const onEntitySelectChange = async (value: (string | number)[], selectedOptions: Option[]) => { + const onEntitySelectChange = async (value: (string | number | null)[], selectedOptions: Option[]) => { if (value) { if (value.length == 1) {