<!--
  - Copyright (c) 2022.
  - Author Peter Placzek (tada5hi)
  - For the full copyright and license information,
  - view the LICENSE file that was distributed with this source code.
  -->

<script>
import ContactItemEncryption from "@/components/contact/ContactItemEncryption";
export default {
    components: {ContactItemEncryption},
    props: {
        contact: Object
    },
    methods: {
        handleEncryptionUpdated(contact) {
            this.$emit('updated', contact);
        }
    }
}
</script>
<template>
    <div>
        <contact-item-encryption :contact-property="contact" @updated="handleEncryptionUpdated" />
    </div>
</template>
