Skip to content

Commit

Permalink
Merge pull request emsesp#2265 from proddy/dev
Browse files Browse the repository at this point in the history
fixes emsesp#2264 - tab links broken
  • Loading branch information
proddy authored Nov 30, 2024
2 parents 3368f28 + 481089b commit 76151c4
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 112 deletions.
8 changes: 4 additions & 4 deletions interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"lint": "eslint . --fix"
},
"dependencies": {
"@alova/adapter-xhr": "2.0.10",
"@alova/adapter-xhr": "2.0.11",
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@mui/icons-material": "^6.1.9",
"@mui/material": "^6.1.9",
"@table-library/react-table-library": "4.1.7",
"alova": "3.2.5",
"alova": "3.2.6",
"async-validator": "^4.2.5",
"jwt-decode": "^4.0.0",
"mime-types": "^2.1.35",
Expand All @@ -42,7 +42,7 @@
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@eslint/js": "^9.15.0",
"@eslint/js": "^9.16.0",
"@preact/compat": "^18.3.1",
"@preact/preset-vite": "^2.9.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
Expand All @@ -51,7 +51,7 @@
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"concurrently": "^9.1.0",
"eslint": "^9.15.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"formidable": "^3.5.2",
"prettier": "^3.4.1",
Expand Down
7 changes: 5 additions & 2 deletions interface/src/app/settings/network/Network.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ const Network = () => {
}}
>
<RouterTabs value={routerTab}>
<Tab value="settings" label={LL.SETTINGS_OF(LL.NETWORK(1))} />
<Tab value="scan" label={LL.NETWORK_SCAN()} />
<Tab
value="/settings/network/settings"
label={LL.SETTINGS_OF(LL.NETWORK(1))}
/>
<Tab value="/settings/network/scan" label={LL.NETWORK_SCAN()} />
</RouterTabs>
<Routes>
<Route path="scan" element={<WiFiNetworkScanner />} />
Expand Down
7 changes: 5 additions & 2 deletions interface/src/app/settings/security/Security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ const Security = () => {
return (
<>
<RouterTabs value={routerTab}>
<Tab value="settings" label={LL.SETTINGS_OF(LL.SECURITY(1))} />
<Tab value="users" label={LL.MANAGE_USERS()} />
<Tab
value="/settings/security/settings"
label={LL.SETTINGS_OF(LL.SECURITY(1))}
/>
<Tab value="/settings/security/users" label={LL.MANAGE_USERS()} />
</RouterTabs>
<Routes>
<Route path="users" element={<ManageUsers />} />
Expand Down
Loading

0 comments on commit 76151c4

Please sign in to comment.