chagnes
This commit is contained in:
@@ -50,6 +50,7 @@ const ReferenceIndustries = lazy(() => import("./pages/Reference/Industries"));
|
|||||||
|
|
||||||
// Other Pages - Lazy loaded
|
// Other Pages - Lazy loaded
|
||||||
const Schedules = lazy(() => import("./pages/Schedules"));
|
const Schedules = lazy(() => import("./pages/Schedules"));
|
||||||
|
const AutomationDashboard = lazy(() => import("./pages/Automation/Dashboard"));
|
||||||
|
|
||||||
// Settings - Lazy loaded
|
// Settings - Lazy loaded
|
||||||
const GeneralSettings = lazy(() => import("./pages/Settings/General"));
|
const GeneralSettings = lazy(() => import("./pages/Settings/General"));
|
||||||
@@ -252,6 +253,11 @@ export default function App() {
|
|||||||
} />
|
} />
|
||||||
|
|
||||||
{/* Other Pages */}
|
{/* Other Pages */}
|
||||||
|
<Route path="/automation" element={
|
||||||
|
<Suspense fallback={null}>
|
||||||
|
<AutomationDashboard />
|
||||||
|
</Suspense>
|
||||||
|
} />
|
||||||
<Route path="/schedules" element={
|
<Route path="/schedules" element={
|
||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
<Schedules />
|
<Schedules />
|
||||||
|
|||||||
@@ -118,6 +118,11 @@ const AppSidebar: React.FC = () => {
|
|||||||
{ name: "Image Testing", path: "/thinker/image-testing" },
|
{ name: "Image Testing", path: "/thinker/image-testing" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon: <BoltIcon />,
|
||||||
|
name: "Automation",
|
||||||
|
path: "/automation",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: <TimeIcon />,
|
icon: <TimeIcon />,
|
||||||
name: "Schedules",
|
name: "Schedules",
|
||||||
|
|||||||
Reference in New Issue
Block a user