diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-08-14 01:01:52 +0000 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-08-18 14:03:45 +0200 |
commit | e939943bcd14411ce486339e9d61a6c0fffb3e71 (patch) | |
tree | 75c9fa2e687cb2883b453f619a0748e9049a516b /src/components/AppContent | |
parent | ce45a8cf86a5c3aaf52734fa1a3e0eb9e84aafdf (diff) |
Bump @nextcloud/eslint-config from 6.0.0 to 6.1.0
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v6.0.0...v6.1.0)
---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/components/AppContent')
-rw-r--r-- | src/components/AppContent/CircleContent.vue | 3 | ||||
-rw-r--r-- | src/components/AppContent/ContactsContent.vue | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/components/AppContent/CircleContent.vue b/src/components/AppContent/CircleContent.vue index cbe59bcc..0d668cea 100644 --- a/src/components/AppContent/CircleContent.vue +++ b/src/components/AppContent/CircleContent.vue @@ -108,7 +108,8 @@ export default { /** * Is the current circle empty - * @returns {boolean} + * + * @return {boolean} */ isEmptyCircle() { return this.members.length === 0 diff --git a/src/components/AppContent/ContactsContent.vue b/src/components/AppContent/ContactsContent.vue index 2f1f23a9..7cd2ef3d 100644 --- a/src/components/AppContent/ContactsContent.vue +++ b/src/components/AppContent/ContactsContent.vue @@ -123,14 +123,16 @@ export default { /** * Is this a real group ? * Aka not a dynamically generated one like `All contacts` - * @returns {boolean} + * + * @return {boolean} */ isRealGroup() { return this.groups.findIndex(group => group.name === this.selectedGroup) > -1 }, /** * Is the current group empty - * @returns {boolean} + * + * @return {boolean} */ isEmptyGroup() { return this.contactsList.length === 0 @@ -144,6 +146,7 @@ export default { methods: { /** * Forward the addContactsToGroup event to the parent + * * @param {string} groupName the group name */ addContactsToGroup(groupName) { @@ -154,7 +157,7 @@ export default { * Forward the newContact event to the parent */ newContact() { - this.$emit('newContact') + this.$emit('new-contact') }, /** @@ -165,7 +168,7 @@ export default { this.$router.push({ name: 'group', params: { - selectedGroup: this.selectedGroup + selectedGroup: this.selectedGroup, }, }) }, |