diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-31 09:35:44 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-31 09:35:44 +0200 |
commit | ae341afe9701e870569b28cf147caa260289413b (patch) | |
tree | 1fcd6977c6d2816d2367eb36a133472becbe867c /src | |
parent | 06f4956f5e6f850ac77e20e4bbda4c77858cbadf (diff) |
Delete property
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ContactDetails/ContactDetailsProperty.vue | 5 |
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) } } |