mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 06:20:20 -05:00
With Settings > Interface > Landing Page Mode set to Chat, the new chat page renders the message list, so the block that reveals a message picked from search ran there too. With no chat open, chat?.id and $page.params.id are both undefined, the guard passed, and chat.id threw "can't access property 'id'" on every refresh. Require a chat before comparing its id with the page's.