Skip to content

Commit

Permalink
[Fix-398][UI] Adjust input parameter type (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxzuo authored May 9, 2024
1 parent b56ec7e commit 4afb9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datavines-ui/src/view/Main/HomeDetail/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const Dashboard = ({ datasourceId }: TJobs) => {
const [startTime, setStartTime] = useState<any>();
const [endTime, setEndTime] = useState<any>();

const onEntitySelectChange = async (value: (string | number)[], selectedOptions: Option[]) => {
const onEntitySelectChange = async (value: (string | number | null)[], selectedOptions: Option[]) => {

if (value) {
if (value.length == 1) {
Expand Down

0 comments on commit 4afb9f1

Please sign in to comment.