diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-19 18:51:38 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-19 18:52:50 +0100 |
commit | 85c3b1a00ff3261333ad68e816d9535eb10f6c4d (patch) | |
tree | 3205faf713e18f6d0f4ef3524e4222b390dd231e /src/components/Properties | |
parent | bfa38cba598fb7c3391334b6cd7fa9a7095dfc43 (diff) |
JSDoc cleanup and better code comments
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components/Properties')
-rw-r--r-- | src/components/Properties/PropertyGroups.vue | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/Properties/PropertyGroups.vue b/src/components/Properties/PropertyGroups.vue index 70407a00..0ee7f23c 100644 --- a/src/components/Properties/PropertyGroups.vue +++ b/src/components/Properties/PropertyGroups.vue @@ -23,6 +23,8 @@ <template> <div v-if="propModel" class="grid-span-2 property"> + <!-- NO title if first element for groups --> + <div class="property__row"> <div class="property__label">{{ propModel.readableName }}</div> @@ -107,7 +109,7 @@ export default { /** * Dispatch contact addition to group * - * @param {String} groupName the group name + * @param {string} groupName the group name */ async addContactToGroup(groupName) { await this.$store.dispatch('addContactToGroup', { @@ -120,7 +122,7 @@ export default { /** * Dispatch contact removal from group * - * @param {String} groupName the group name + * @param {string} groupName the group name */ removeContactToGroup(groupName) { this.$store.dispatch('removeContactToGroup', { @@ -132,8 +134,8 @@ export default { /** * Validate groupname and dispatch creation * - * @param {String} groupName the group name - * @returns {Boolean} + * @param {string} groupName the group name + * @returns {boolean} */ validateGroup(groupName) { // Only allow characters without vcard special chars |