diff options
Diffstat (limited to 'src/components/ContactDetails/ContactDetailsAddNewProp.vue')
-rw-r--r-- | src/components/ContactDetails/ContactDetailsAddNewProp.vue | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/ContactDetails/ContactDetailsAddNewProp.vue b/src/components/ContactDetails/ContactDetailsAddNewProp.vue index a4fe6b37..7774b192 100644 --- a/src/components/ContactDetails/ContactDetailsAddNewProp.vue +++ b/src/components/ContactDetails/ContactDetailsAddNewProp.vue @@ -65,7 +65,8 @@ export default { /** * Rfc props - * @returns {Object} + * + * @return {object} */ properties() { return rfcProps.properties @@ -74,7 +75,7 @@ export default { /** * List of properties that the contact already have * - * @returns {string[]} + * @return {string[]} */ usedProperties() { return this.contact.jCal[1].map(prop => prop[0]) @@ -84,7 +85,7 @@ export default { * List of every properties you are allowed to add * on this contact * - * @returns {Object[]} + * @return {object[]} */ availableProperties() { return Object.keys(this.properties) @@ -104,7 +105,7 @@ export default { /** * Add a new prop to the contact * - * @param {Object} data destructuring object + * @param {object} data destructuring object * @param {string} data.id the id of the property. e.g fn */ addProp({ id }) { |