Fix profile field deletion
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

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