Files
ragflow_python/web/src/pages/add-knowledge/components/knowledge-file/utils.ts
balibabu d56c9e7630 feat: add chunkText to messageText to distinguish table rows and when parsing, the delete and other buttons are set to disabled. (#130)
* feat: when parsing, the delete and other buttons are set to disabled.

* feat: add chunkText to messageText to distinguish table rows
2024-03-19 10:20:50 +08:00

7 lines
178 B
TypeScript

import { RunningStatus } from './constant';
export const isParserRunning = (text: RunningStatus) => {
const isRunning = text === RunningStatus.RUNNING;
return isRunning;
};