Skip to content

Commit

Permalink
fix: dont show "new chat" on /tools page on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Jan 8, 2025
1 parent 79c26f2 commit 952da0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@
}
});
$: mobileNavTitle = ["/models", "/assistants", "/privacy"].includes($page.route.id ?? "")
$: mobileNavTitle = ["/models", "/assistants", "/privacy", "/tools"].includes(
$page.route.id ?? ""
)
? ""
: data.conversations.find((conv) => conv.id === $page.params.id)?.title;
Expand Down

0 comments on commit 952da0d

Please sign in to comment.