mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
Add task executor bar chart, add system version string (#11155)
### What problem does this PR solve? - Add task executor bar chart - Add read version string ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -101,8 +101,6 @@ request.interceptors.response.use(
|
||||
);
|
||||
|
||||
const {
|
||||
getSystemVersion: _getSystemVersion,
|
||||
|
||||
adminLogin,
|
||||
adminLogout,
|
||||
adminListUsers,
|
||||
@ -136,6 +134,8 @@ const {
|
||||
adminUpdateWhitelistEntry,
|
||||
adminDeleteWhitelistEntry,
|
||||
adminImportWhitelist,
|
||||
|
||||
adminGetSystemVersion,
|
||||
} = api;
|
||||
|
||||
type ResponseData<D = NonNullable<unknown>> = {
|
||||
@ -260,4 +260,4 @@ export const importWhitelistFromExcel = (file: File) => {
|
||||
};
|
||||
|
||||
export const getSystemVersion = () =>
|
||||
request.get<ResponseData<string>>(_getSystemVersion);
|
||||
request.get<ResponseData<{ version: string }>>(adminGetSystemVersion);
|
||||
|
||||
Reference in New Issue
Block a user