Merge pull request 'Fix profile field deletion' (#195) from sn0w/pleroma-fe:fix-profile-field-deletion into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

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 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]