Slicing menu history alarm and event alarm
This commit is contained in:
11
src/App.jsx
11
src/App.jsx
@@ -23,12 +23,11 @@ import IndexShift from './pages/master/shift/IndexShift';
|
||||
import IndexJadwalShift from './pages/jadwalShift/IndexJadwalShift';
|
||||
|
||||
// History
|
||||
import IndexTrending from './pages/history/trending/IndexTrending';
|
||||
import IndexReport from './pages/history/report/IndexReport';
|
||||
import IndexTrending from './pages/report/trending/IndexTrending';
|
||||
import IndexReport from './pages/report/report/IndexReport';
|
||||
|
||||
// Other Pages
|
||||
import IndexNotification from './pages/notification/IndexNotification';
|
||||
import IndexEventAlarm from './pages/eventAlarm/IndexEventAlarm';
|
||||
import IndexRole from './pages/role/IndexRole';
|
||||
import IndexUser from './pages/user/IndexUser';
|
||||
|
||||
@@ -40,6 +39,8 @@ import SvgCompressorC from './pages/home/SvgCompressorC';
|
||||
import SvgAirDryerA from './pages/home/SvgAirDryerA';
|
||||
import SvgAirDryerB from './pages/home/SvgAirDryerB';
|
||||
import SvgAirDryerC from './pages/home/SvgAirDryerC';
|
||||
import IndexHistoryAlarm from './pages/history/alarm/IndexHistoryAlarm';
|
||||
import IndexHistoryEvent from './pages/history/event/IndexHistoryEvent';
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
@@ -84,8 +85,8 @@ const App = () => {
|
||||
</Route>
|
||||
|
||||
<Route path="/history" element={<ProtectedRoute />}>
|
||||
<Route path="alarm" element={<IndexEventAlarm />} />
|
||||
<Route path="event" element={<IndexEventAlarm />} />
|
||||
<Route path="alarm" element={<IndexHistoryAlarm />} />
|
||||
<Route path="event" element={<IndexHistoryEvent />} />
|
||||
</Route>
|
||||
|
||||
<Route path="/notification" element={<ProtectedRoute />}>
|
||||
|
||||
Reference in New Issue
Block a user