Unbreak timelines

This commit is contained in:
Cohee 2024-09-08 14:33:52 +03:00
parent 95dd58ad95
commit 5ab781ab30
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ async function saveBookmarkMenu() {
return await createNewBookmark(chat.length - 1);
}
async function createBranch(mesId) {
// Export is used by Timelines extension. Do not remove.
export async function createBranch(mesId) {
if (!chat.length) {
toastr.warning('The chat is empty.', 'Branch creation failed');
return;