mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 13:36:47 +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) {
|
||||
select_group_chats(groupId);
|
||||
|
||||
if (selected_group !== groupId) {
|
||||
await clearChat();
|
||||
cancelTtsPlay();
|
||||
@ -1587,8 +1589,6 @@ export async function openGroupById(groupId) {
|
||||
chat.length = 0;
|
||||
await getGroupChat(groupId);
|
||||
}
|
||||
|
||||
select_group_chats(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user