commit: e74482d84b3ae88c98d9d4c6a4e6b4ec0376356e
parent 4e02005dd9237f3b44629ece293aeb42098323be
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Thu, 12 Jan 2023 09:56:25 +0000
Merge branch '1236-fix-profile-field-delete' into 'develop'
Fix profile field delete
Closes #1236
See merge request pleroma/pleroma-fe!1754
Diffstat:
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
@@ -153,7 +153,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]