repair: brandDevice add edit page

This commit is contained in:
2025-12-12 16:54:30 +07:00
parent 2ff50342e8
commit ea3adf40cc
5 changed files with 107 additions and 578 deletions

View File

@@ -21,7 +21,6 @@ import IndexShift from './pages/master/shift/IndexShift';
// Brand device
import AddBrandDevice from './pages/master/brandDevice/AddBrandDevice';
import EditBrandDevice from './pages/master/brandDevice/EditBrandDevice';
import AddEditErrorCode from './pages/master/brandDevice/AddEditErrorCode';
import ViewBrandDevice from './pages/master/brandDevice/ViewBrandDevice';
import ViewFilePage from './pages/master/brandDevice/ViewFilePage';
@@ -118,9 +117,6 @@ const App = () => {
path="brand-device/view/temp/files/:fileName"
element={<ViewFilePage />}
/>
<Route path="brand-device/:brandId/error-code/add" element={<AddEditErrorCode />} />
<Route path="brand-device/:brandId/error-code/edit/:errorCodeId" element={<AddEditErrorCode />} />
<Route path="brand-device/add/error-code/edit/:errorCodeId" element={<AddEditErrorCode />} />
</Route>
<Route path="/report" element={<ProtectedRoute />}>