Merge branch '1236-fix-profile-field-delete' into 'develop'

Fix profile field delete

Closes #1236

See merge request pleroma/pleroma-fe!1754
This commit is contained in:
HJ 2023-01-12 09:56:25 +00:00
commit e74482d84b
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ const ProfileTab = {
return false
},
deleteField (index, event) {
this.$delete(this.newFields, index)
this.newFields.splice(index, 1)
},
uploadFile (slot, e) {
const file = e.target.files[0]