summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-15 15:46:25 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-15 15:46:25 +0100
commitbec760d9f1c5ca2feb631ba0d3f61d1e981713ab (patch)
tree25614445dc419a292da36acef728662e71be356c
parent38c8050409cf9c2f3799998898416fe5bdcce29d (diff)
Emit updatedcontact event on prop deletion
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--src/components/ContactDetails/ContactDetailsProperty.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/ContactDetails/ContactDetailsProperty.vue b/src/components/ContactDetails/ContactDetailsProperty.vue
index 9feb1f70..f6bab167 100644
--- a/src/components/ContactDetails/ContactDetailsProperty.vue
+++ b/src/components/ContactDetails/ContactDetailsProperty.vue
@@ -272,6 +272,7 @@ export default {
*/
deleteProp() {
this.contact.vCard.removeProperty(this.property)
+ this.$emit('updatedcontact')
}
}