mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-13 16:38:26 +08:00
Refactor: dataset / kb API to RESTFul style (#13690)
### What problem does this PR solve? 1. Split dataset api to gateway and service, and modify web UI to use restful http api. 2. Old KB releated APIs are commented. ### Type of change - [x] Refactoring --------- Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
@@ -242,7 +242,9 @@ export const MultiSelect = React.forwardRef<
|
||||
|
||||
const disabledValueSet = React.useMemo(() => {
|
||||
return new Set(
|
||||
flatOptions.filter((option) => option.disabled).map((option) => option.value),
|
||||
flatOptions
|
||||
.filter((option) => option.disabled)
|
||||
.map((option) => option.value),
|
||||
);
|
||||
}, [flatOptions]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user