From a83c3a1fa194e05bf0b0be3dc935f1b4c9e191a2 Mon Sep 17 00:00:00 2001 From: sn0w Date: Mon, 7 Nov 2022 14:53:13 +0100 Subject: [PATCH] Fix profile field deletion --- src/components/settings_modal/tabs/profile_tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js index 8781bb91..b69cf2f1 100644 --- a/src/components/settings_modal/tabs/profile_tab.js +++ b/src/components/settings_modal/tabs/profile_tab.js @@ -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]