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

View File

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