Skip to content

Commit

Permalink
refactor(CE): changed setup models to setup define
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 5, 2024
1 parent 9aad406 commit 3fba113
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ui/src/routes/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const VerifyUser = lazy(() => import('@/views/Authentication/VerifyUser'));
const ForgotPassword = lazy(() => import('@/views/Authentication/ForgotPassword'));
const ResetPassword = lazy(() => import('@/views/Authentication/ResetPassword'));

const Models = lazy(() => import('@/views/Models'));
const SetupConnectors = lazy(() => import('@/views/Connectors/SetupConnectors'));

const SetupDefine = lazy(() => import('@/views/Define/SetupDefine'));
const SetupActivate = lazy(() => import('@/views/Activate/SetupActivate'));

const Settings = lazy(() => import('@/views/Settings'));

type MAIN_PAGE_ROUTES_ITEM = {
Expand Down Expand Up @@ -53,7 +53,7 @@ export const MAIN_PAGE_ROUTES: MAIN_PAGE_ROUTES_ITEM[] = [
url: '/define/*',
component: (
<SuspenseWithLoader redirectRoute='/define'>
<Models />
<SetupDefine />
</SuspenseWithLoader>
),
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Navigate, Route, Routes } from 'react-router-dom';
import ModelsList from './ModelsList';
import ModelsForm from './ModelsForm';
import ViewModel from './ViewModel';
import EditModel from './EditModel';
import ModelsList from '@/views/Models/ModelsList';
import ModelsForm from '@/views/Models/ModelsForm';
import ViewModel from '@/views/Models/ViewModel';
import EditModel from '@/views/Models/EditModel';

const SetupModels = (): JSX.Element => {
return (
Expand Down
1 change: 1 addition & 0 deletions ui/src/views/Define/SetupDefine/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './SetupDefine';
1 change: 0 additions & 1 deletion ui/src/views/Models/index.ts

This file was deleted.

0 comments on commit 3fba113

Please sign in to comment.