mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #18232] [MERGED] fix: prevent click on "Chats" in sidebar from going to new chat #63573
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18232
Author: @silentoplayz
Created: 10/11/2025
Status: ✅ Merged
Merged: 10/11/2025
Merged by: @tjbck
Base:
dev← Head:fix-chats-button-navigation📝 Commits (1)
95e3717fix(sidebar): prevent click on Chats from going to new chat📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
src/lib/components/layout/Sidebar.svelte(+0 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
Changed
on:changeevent handler for the "Chats" button insrc/lib/components/layout/Sidebar.svelteno longer triggers a navigation to the application's root page.Removed
await goto('/');line of code from theon:changeevent handler insrc/lib/components/layout/Sidebar.svelte.Fixed
Additional Information
This solution correctly removes only the line responsible for the navigation, resolving the original issue while maintaining all related functionality.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.