[X] I had searched in the issues and found no similar issues.
What happened
UI package error
[INFO] ERROR in ./src/view/Main/HomeDetail/Dashboard/index.tsx:509:75
[INFO] TS2322: Type '(value: (string | number)[]) => Promise<void>' is not assignable to type '(value: (string | number | null)[], selectOptions: Option[]) => void'.
[INFO] Types of parameters 'value' and 'value' are incompatible.
[INFO] Type '(string | number | null)[]' is not assignable to type '(string | number)[]'.
[INFO] Type 'string | number | null' is not assignable to type 'string | number'.
[INFO] Type 'null' is not assignable to type 'string | number'.
[INFO] 507 | <Row style = {{marginTop: '20px'}}>
[INFO] 508 | <Col span={24}>
[INFO] > 509 | <Cascader options={databases} loadData={loadData} onChange={onEntitySelectChange} changeOnSelect style = {{width:500}}/>
[INFO] | ^^^^^^^^
[INFO] 510 | <Select
[INFO] 511 | onChange={onMetricSelectChange}
[INFO] 512 | style = {{marginLeft: '20px', width: 200}}
[INFO]
[INFO] webpack 5.91.0 compiled with 1 error in 41391 ms
[INFO] ------------------------------------------------------------------------
DataVines Version
dev
DataVines Config
nothing
Running Command
mvn clean package -Prelease -DskipTests
Error Exception
[INFO] ERROR in ./src/view/Main/HomeDetail/Dashboard/index.tsx:509:75
[INFO] TS2322: Type '(value: (string | number)[]) => Promise<void>' is not assignable to type '(value: (string | number | null)[], selectOptions: Option[]) => void'.
[INFO] Types of parameters 'value' and 'value' are incompatible.
[INFO] Type '(string | number | null)[]' is not assignable to type '(string | number)[]'.
[INFO] Type 'string | number | null' is not assignable to type 'string | number'.
[INFO] Type 'null' is not assignable to type 'string | number'.
[INFO] 507 | <Row style = {{marginTop: '20px'}}>
[INFO] 508 | <Col span={24}>
[INFO] > 509 | <Cascader options={databases} loadData={loadData} onChange={onEntitySelectChange} changeOnSelect style = {{width:500}}/>
[INFO] | ^^^^^^^^
[INFO] 510 | <Select
[INFO] 511 | onChange={onMetricSelectChange}
[INFO] 512 | style = {{marginLeft: '20px', width: 200}}
[INFO]
[INFO] webpack 5.91.0 compiled with 1 error in 41391 ms
[INFO] ------------------------------------------------------------------------
Search before asking
What happened
UI package error
DataVines Version
dev
DataVines Config
Running Command
Error Exception
Engine Type
No response
Java Version
No response
Screenshots
No response
Are you willing to submit PR?