Bind string to locale

This commit is contained in:
Yokayo 2024-04-11 14:55:38 +07:00 committed by GitHub
parent f6b80c021a
commit 40cae057a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ function onPersonaDescriptionInput() {
}
$(`.avatar-container[imgfile="${user_avatar}"] .ch_description`)
.text(power_user.persona_description || '[No description]')
.text(power_user.persona_description || $('#user_avatar_block').attr('no_desc_text'))
.toggleClass('text_muted', !power_user.persona_description);
saveSettingsDebounced();
}