manual lint --fix

This commit is contained in:
Henry Jameson 2025-02-04 15:23:21 +02:00
commit d1ea589531
76 changed files with 187 additions and 184 deletions

View file

@ -133,15 +133,14 @@ const ProfileTab = {
const params = {
note: this.newBio,
locked: this.newLocked,
// Backend notation.
display_name: this.newName,
fields_attributes: this.newFields.filter(el => el != null),
actor_type: this.actorType,
show_role: this.showRole,
birthday: this.newBirthday || '',
show_birthday: this.showBirthday
}
if (this.emailLanguage) {
@ -167,7 +166,7 @@ const ProfileTab = {
}
return false
},
deleteField (index, event) {
deleteField (index) {
this.newFields.splice(index, 1)
},
uploadFile (slot, e) {
@ -190,7 +189,7 @@ const ProfileTab = {
})
return
}
const reader = new FileReader()
reader.onload = ({ target }) => {
const img = target.result