mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-23 07:51:18 +01:00
#1484 Consolidate chat name template
This commit is contained in:
parent
2417ae9d87
commit
990f958f4f
@ -1291,7 +1291,7 @@ async function replaceCurrentChat() {
|
||||
|
||||
// start new chat
|
||||
else {
|
||||
characters[this_chid].chat = name2 + ' - ' + humanizedDateTime();
|
||||
characters[this_chid].chat = `${name2} - ${humanizedDateTime()}`;
|
||||
$('#selected_chat_pole').val(characters[this_chid].chat);
|
||||
saveCharacterDebounced();
|
||||
await getChat();
|
||||
@ -8026,7 +8026,7 @@ jQuery(async function () {
|
||||
else {
|
||||
//RossAscends: added character name to new chat filenames and replaced Date.now() with humanizedDateTime;
|
||||
chat_metadata = {};
|
||||
characters[this_chid].chat = name2 + '-' + humanizedDateTime();
|
||||
characters[this_chid].chat = `${name2} - ${humanizedDateTime()}`;
|
||||
$('#selected_chat_pole').val(characters[this_chid].chat);
|
||||
await getChat();
|
||||
await createOrEditCharacter();
|
||||
|
Loading…
Reference in New Issue
Block a user