Merge pull request 'Fix profile field deletion' (#195) from sn0w/pleroma-fe:fix-profile-field-deletion into develop

Reviewed-on: AkkomaGang/pleroma-fe#195
This commit is contained in:
floatingghost 2022-11-07 14:00:43 +00:00
commit 837c61569a

View file

@ -151,7 +151,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]