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() {
774774 toastr.info(`Auto locked persona ${personaName} to current chat`, t`Persona Auto Lock`);
775775 }
776776 saveMetadataDebounced();
777+ updatePersonaLockIcons();
777778 }
778779
779780 // As the last step, inform user if the persona is only temporarily chosen
@@ -918,7 +919,6 @@ async function lockPersona(type = 'chat') {
918919
919920 switch (type) {
920921 case 'default': {
921- // TODO: Make this toggle-able
922922 await toggleDefaultPersona(user_avatar, { quiet: true });
923923 break;
924924 }