Fix lock icon state on auto-lock to chat
| @@ -774,6 +774,7 @@ function selectCurrentPersona() { | ||
| 774 | 774 | toastr.info(`Auto locked persona ${personaName} to current chat`, t`Persona Auto Lock`); |
| 775 | 775 | } |
| 776 | 776 | saveMetadataDebounced(); |
| 777 | + updatePersonaLockIcons(); | |
| 777 | 778 | } |
| 778 | 779 | |
| 779 | 780 | // As the last step, inform user if the persona is only temporarily chosen |
| @@ -918,7 +919,6 @@ async function lockPersona(type = 'chat') { | ||
| 918 | 919 | |
| 919 | 920 | switch (type) { |
| 920 | 921 | case 'default': { |
| 921 | - // TODO: Make this toggle-able | |
| 922 | 922 | await toggleDefaultPersona(user_avatar, { quiet: true }); |
| 923 | 923 | break; |
| 924 | 924 | } |