feat: save the selected parser to the backend on the upload file page and upload document (#54)
* feat: add pagination to document table * feat: fetch document list by page * feat: poll the document list * feat: upload document * feat: save the selected parser to the backend on the upload file page
This commit is contained in:
@@ -18,8 +18,7 @@ const SegmentSetModal: React.FC<kFProps> = ({
|
||||
const kFModel = useSelector((state: any) => state.kFModel);
|
||||
const settingModel = useSelector((state: any) => state.settingModel);
|
||||
const [selectedTag, setSelectedTag] = useState('');
|
||||
const { tenantIfo = {} } = settingModel;
|
||||
const { parser_ids = '' } = tenantIfo;
|
||||
const parser_ids = settingModel?.tenantIfo?.parser_ids ?? '';
|
||||
const { isShowSegmentSetModal } = kFModel;
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user