mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add names display to data bank
This commit is contained in:
@ -656,6 +656,12 @@ async function openAttachmentManager() {
|
||||
const isNotInChat = getCurrentChatId() === undefined;
|
||||
template.find('.characterAttachmentsBlock').toggle(!isNotCharacter);
|
||||
template.find('.chatAttachmentsBlock').toggle(!isNotInChat);
|
||||
|
||||
const characterName = characters[this_chid]?.name || 'Anonymous';
|
||||
template.find('.characterAttachmentsName').text(characterName);
|
||||
|
||||
const chatName = getCurrentChatId() || 'Unnamed chat';
|
||||
template.find('.chatAttachmentsName').text(chatName);
|
||||
}
|
||||
|
||||
const hasFandomPlugin = await isFandomPluginAvailable();
|
||||
|
Reference in New Issue
Block a user