Fix profile field deletion

This commit is contained in:
sn0w 2022-11-07 14:53:13 +01:00
parent 4d8f288bd9
commit a83c3a1fa1
No known key found for this signature in database
GPG key ID: 52A4BAE175049057

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]