mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Open group UI immediately on click
This commit is contained in:
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user