Skip to content

Commit 6546238

Browse files
committed
ui: put /models/search behind a button
1 parent e2f3e8b commit 6546238

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/models/ModelsPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export const ModelsPage = ({ children }) => {
1212

1313
<Tabs>
1414
<NavLink href="/models" exact>
15-
Search
15+
Installed
1616
</NavLink>
17+
<NavLink href="/models/search">Search</NavLink>
1718
<NavLink href="/models/downloads">
1819
Downloads
1920
<Badge class="animate-pulse" value={queue.value.length} />
2021
</NavLink>
21-
<NavLink href="/models/installed">Installed</NavLink>
2222
</Tabs>
2323
</Page.Header>
2424

src/app/router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const routes = [
2222
{ path: "/quick-tools/:id", component: QuickTool },
2323
{ path: "/quick-tools/:id/edit", component: EditTool },
2424
{ path: "/playground", component: Playground },
25-
{ path: "/models", component: SearchModels },
25+
{ path: "/models", component: Models },
26+
{ path: "/models/search", component: SearchModels },
2627
{ path: "/models/downloads", component: DownloadManager },
27-
{ path: "/models/installed", component: Models },
2828
{ path: "/settings", component: Settings },
2929
{ path: "/settings/system", component: System },
3030
{ path: "/settings/license", component: License },

0 commit comments

Comments
 (0)