mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 23:29:24 -05:00
fix: Webhooks window resets whenever a message arrives in the channel (#33776)
With a channel open and its Webhooks window open from Edit Channel, every new message in that channel sent the window back to the webhook list, including a post from the webhook itself. The selected webhook closed and a changed name or image that was not saved yet was lost. The window now resets only when it opens, so new messages no longer interrupt an edit. Fixes #33775
This commit is contained in:
1 parent
c384d8e514
commit
b8b8ba9586
1 file changed
+1
-1
@@ -87,7 +87,7 @@
|
||||
showDeleteConfirmDialog = false;
|
||||
};
|
||||
|
||||
$: if (show && channel) {
|
||||
$: if (show) {
|
||||
loadWebhooks();
|
||||
selectedWebhookId = null;
|
||||
pendingChanges = {};
|
||||
|
||||
Reference in new issue
Block a user