Added basic locations page to easily move spools between locations

This commit is contained in:
Donkie
2024-11-19 21:49:29 +01:00
parent 502ea1ba8b
commit a4355967d0
6 changed files with 295 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ import {
HighlightOutlined,
HomeOutlined,
QuestionOutlined,
TableOutlined,
ToolOutlined,
UserOutlined,
} from "@ant-design/icons";
@@ -148,6 +149,14 @@ function App() {
icon: <UserOutlined />,
},
},
{
name: "locations",
list: "/locations",
meta: {
canDelete: false,
icon: <TableOutlined />,
},
},
{
name: "settings",
list: "/settings",
@@ -222,6 +231,7 @@ function App() {
</Route>
<Route path="/settings/*" element={<LoadablePage name="settings" />} />
<Route path="/help" element={<LoadablePage name="help" />} />
<Route path="/locations" element={<LoadablePage name="locations" />} />
<Route path="*" element={<ErrorComponent />} />
</Route>
</Routes>