Browse Source

Merge branch '1236-fix-profile-field-delete' into 'develop'

Fix profile field delete

Closes #1236

See merge request pleroma/pleroma-fe!1754
HJ 2 years ago
parent
commit
e74482d84b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/settings_modal/tabs/profile_tab.js

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