yay bugfixes
This commit is contained in:
Sam Therapy 2021-11-16 14:01:17 -06:00
commit d02fb77e07
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@ library.add(
const ProfileTab = {
data () {
return {
newName: this.$store.state.users.currentUser.name,
newName: this.$store.state.users.currentUser.name_unescaped,
newBio: unescape(this.$store.state.users.currentUser.description),
newLocked: this.$store.state.users.currentUser.locked,
newNoRichText: this.$store.state.users.currentUser.no_rich_text,

View file

@ -55,8 +55,9 @@ export const parseUser = (data) => {
}
output.emoji = data.emojis
output.name = data.display_name
output.name_html = escape(data.display_name)
output.name = escape(data.display_name)
output.name_html = output.name
output.name_unescaped = data.display_name
output.description = data.note
// TODO cleanup this shit, output.description is overriden with source data