mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
Adjust styles to match the design system (#11118)
### What problem does this PR solve? - Modify and adjust styles (CSS vars, components) to match the design system - Adjust file and directory structure of admin UI ### Type of change - [x] Refactoring
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
import { Routes } from '@/routes';
|
||||
import authorizationUtil from '@/utils/authorization-util';
|
||||
import { Navigate, Outlet } from 'umi';
|
||||
|
||||
export default () => {
|
||||
const isLogin = !!authorizationUtil.getAuthorization();
|
||||
|
||||
return isLogin ? <Outlet /> : <Navigate to={Routes.Admin} />;
|
||||
};
|
||||
Reference in New Issue
Block a user