mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-06 04:38:21 +01:00
Fix tag key for 0-index
This commit is contained in:
parent
9fbb012697
commit
babb4cb57b
@ -384,7 +384,7 @@ function getTagKey() {
|
||||
return selected_group;
|
||||
}
|
||||
|
||||
if (this_chid && menu_type === 'character_edit') {
|
||||
if (this_chid !== undefined && menu_type === 'character_edit') {
|
||||
return characters[this_chid].avatar;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user