Fix profile field deletion

This commit is contained in:
sn0w 2022-11-07 14:53:13 +01:00
parent 4d8f288bd9
commit a83c3a1fa1
Signed by untrusted user: sn0w
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]