summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-09-04 16:20:19 +0200
committerGitHub <noreply@github.com>2018-09-04 16:20:19 +0200
commit96acf13fd10a239bfa9d0c7a281b240ea58f0a78 (patch)
tree422c5dc7a285101f054c7bdf94d7c5cc47cf70dc /src
parent3fa44ad6f725cfe5be77eb6e88d3c4c299f7141a (diff)
parentae341afe9701e870569b28cf147caa260289413b (diff)
Merge pull request #612 from nextcloud/delete-props
Delete property
Diffstat (limited to 'src')
-rw-r--r--src/components/ContactDetails/ContactDetailsProperty.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/ContactDetails/ContactDetailsProperty.vue b/src/components/ContactDetails/ContactDetailsProperty.vue
index 4260f447..fa547d40 100644
--- a/src/components/ContactDetails/ContactDetailsProperty.vue
+++ b/src/components/ContactDetails/ContactDetailsProperty.vue
@@ -217,8 +217,11 @@ export default {
},
methods: {
+ /**
+ * Delete this property
+ */
deleteProp() {
- alert('deleted')
+ this.contact.vCard.removeProperty(this.property)
}
}