webui: Fix duplicated messages on q param (#20715)

* fix: Remove duplicate message sending on `?q` param

* chore: update webui build output
This commit is contained in:
Aleksander Grygier 2026-03-18 10:32:43 +01:00 committed by GitHub
parent 7533a7d509
commit 7ab321d40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 1 deletions

Binary file not shown.

View File

@ -57,7 +57,6 @@
// Handle ?q= parameter - create new conversation and send message
if (qParam !== null) {
await conversationsStore.createConversation();
await chatStore.sendMessage(qParam);
clearUrlParams();
} else if (modelParam || newChatParam === 'true') {
clearUrlParams();