Bläddra i källkod

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

Fix profile field delete

Closes #1236

See merge request pleroma/pleroma-fe!1754
HJ 2 år sedan
förälder
incheckning
e74482d84b
1 ändrade filer med 1 tillägg och 1 borttagningar
  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]