mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-01 18:37:41 +01:00
Open group UI immediately on click
This commit is contained in:
parent
5d74749fd0
commit
b3f657bed5
@ -1576,6 +1576,8 @@ export async function openGroupById(groupId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!is_send_press && !is_group_generating) {
|
if (!is_send_press && !is_group_generating) {
|
||||||
|
select_group_chats(groupId);
|
||||||
|
|
||||||
if (selected_group !== groupId) {
|
if (selected_group !== groupId) {
|
||||||
await clearChat();
|
await clearChat();
|
||||||
cancelTtsPlay();
|
cancelTtsPlay();
|
||||||
@ -1587,8 +1589,6 @@ export async function openGroupById(groupId) {
|
|||||||
chat.length = 0;
|
chat.length = 0;
|
||||||
await getGroupChat(groupId);
|
await getGroupChat(groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
select_group_chats(groupId);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user