Fix lock icon state on auto-lock to chat

2cfb9e8dab27139f9588bf8959a823f18f4b6461

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/personas.js+1 -1
@@ -774,6 +774,7 @@ function selectCurrentPersona() {
774 toastr.info(`Auto locked persona ${personaName} to current chat`, t`Persona Auto Lock`);774 toastr.info(`Auto locked persona ${personaName} to current chat`, t`Persona Auto Lock`);
775 }775 }
776 saveMetadataDebounced();776 saveMetadataDebounced();
777 updatePersonaLockIcons();
777 }778 }
778779
779 // As the last step, inform user if the persona is only temporarily chosen780 // As the last step, inform user if the persona is only temporarily chosen
@@ -918,7 +919,6 @@ async function lockPersona(type = 'chat') {
918919
919 switch (type) {920 switch (type) {
920 case 'default': {921 case 'default': {
921 // TODO: Make this toggle-able
922 await toggleDefaultPersona(user_avatar, { quiet: true });922 await toggleDefaultPersona(user_avatar, { quiet: true });
923 break;923 break;
924 }924 }