summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-31 09:35:44 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-31 09:35:44 +0200
commitae341afe9701e870569b28cf147caa260289413b (patch)
tree1fcd6977c6d2816d2367eb36a133472becbe867c /src
parent06f4956f5e6f850ac77e20e4bbda4c77858cbadf (diff)
Delete property
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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)
}
}