dispatch testing
This commit is contained in:
35
src/App.tsx
35
src/App.tsx
@@ -595,26 +595,22 @@ export default function App() {
|
||||
? (summaryQ.data?.tenantname ? `${summaryQ.data.tenantname} Admin` : 'Admin Console')
|
||||
: currentSection === 'inventory'
|
||||
? 'Products'
|
||||
: currentSection === 'catalogue'
|
||||
? 'Global Catalogue'
|
||||
: currentSection === 'dispatch'
|
||||
? 'Console'
|
||||
: currentSection.charAt(0).toUpperCase() + currentSection.slice(1),
|
||||
: currentSection === 'dispatch'
|
||||
? 'Console'
|
||||
: currentSection.charAt(0).toUpperCase() + currentSection.slice(1),
|
||||
icon: currentSection === 'dashboard'
|
||||
? LayoutDashboard
|
||||
: currentSection === 'inventory'
|
||||
? Layers
|
||||
: currentSection === 'catalogue'
|
||||
? Box
|
||||
: currentSection === 'stores'
|
||||
? Store
|
||||
: currentSection === 'reports'
|
||||
? TrendingUp
|
||||
: currentSection === 'settings'
|
||||
? Settings
|
||||
: currentSection === 'dispatch'
|
||||
? Truck
|
||||
: undefined
|
||||
: currentSection === 'stores'
|
||||
? Store
|
||||
: currentSection === 'reports'
|
||||
? TrendingUp
|
||||
: currentSection === 'settings'
|
||||
? Settings
|
||||
: currentSection === 'dispatch'
|
||||
? Truck
|
||||
: undefined
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -657,12 +653,7 @@ export default function App() {
|
||||
/>
|
||||
} />
|
||||
|
||||
<Route path="catalogue" element={
|
||||
<CatalogueBrowser
|
||||
tenantid={tenantId}
|
||||
locationid={FIESTA_PRIMARY_LOCATION_ID}
|
||||
/>
|
||||
} />
|
||||
<Route path="catalogue" element={<Navigate to="/admin/inventory" replace />} />
|
||||
|
||||
<Route path="reports" element={
|
||||
<ReportsView
|
||||
|
||||
Reference in New Issue
Block a user