Removed redundant emmiter
This commit is contained in:
parent
feb8321147
commit
0c69b698b9
|
@ -9229,7 +9229,6 @@ jQuery(async function () {
|
||||||
await getChat();
|
await getChat();
|
||||||
await createOrEditCharacter(new CustomEvent('newChat'));
|
await createOrEditCharacter(new CustomEvent('newChat'));
|
||||||
if (isDelChatCheckbox) await delChat(chat_file_for_del + '.jsonl');
|
if (isDelChatCheckbox) await delChat(chat_file_for_del + '.jsonl');
|
||||||
await eventSource.emit(event_types.CHAT_CREATED);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue