Skip to content

Commit 952da0d

Browse files
committed
fix: dont show "new chat" on /tools page on mobile
1 parent 79c26f2 commit 952da0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@
143143
}
144144
});
145145
146-
$: mobileNavTitle = ["/models", "/assistants", "/privacy"].includes($page.route.id ?? "")
146+
$: mobileNavTitle = ["/models", "/assistants", "/privacy", "/tools"].includes(
147+
$page.route.id ?? ""
148+
)
147149
? ""
148150
: data.conversations.find((conv) => conv.id === $page.params.id)?.title;
149151

0 commit comments

Comments
 (0)