diff --git a/src/components/AppNavigation/GroupNavigationItem.vue b/src/components/AppNavigation/GroupNavigationItem.vue
index 1e7436e76..ea3dbc64a 100644
--- a/src/components/AppNavigation/GroupNavigationItem.vue
+++ b/src/components/AppNavigation/GroupNavigationItem.vue
@@ -135,10 +135,6 @@ export default {
},
methods: {
- /**
- * @param groups
- * @param groupId
- */
isInGroup(groups, groupId) {
return groups.includes(groupId)
},
@@ -236,7 +232,7 @@ export default {
* Open mailto: for contacts in a group
*
* @param {object} group of contacts to be emailed
- * @param {string} mode
+ * @param {string} mode 'to', 'cc' or 'bcc' header
*/
emailGroup(group, mode = 'to') {
const emails = []
diff --git a/src/components/CircleDetails.vue b/src/components/CircleDetails.vue
index 8b72a135e..ce3377ecd 100644
--- a/src/components/CircleDetails.vue
+++ b/src/components/CircleDetails.vue
@@ -97,6 +97,7 @@
{{ t('contacts', 'Anything shared with this team will show up here') }}
+
{{ provider.name }}
@@ -110,6 +111,7 @@
{{ resource.iconEmoji }}
+
diff --git a/src/components/CircleDetails/CircleConfigs.vue b/src/components/CircleDetails/CircleConfigs.vue
index 557a22f3b..55b00627b 100644
--- a/src/components/CircleDetails/CircleConfigs.vue
+++ b/src/components/CircleDetails/CircleConfigs.vue
@@ -29,7 +29,7 @@
import { NcCheckboxRadioSwitch as CheckboxRadioSwitch } from '@nextcloud/vue'
import ContentHeading from './ContentHeading.vue'
-import { PUBLIC_CIRCLE_CONFIG } from '../../models/constants.ts'
+import { PUBLIC_CIRCLE_CONFIG, CircleConfig } from '../../models/constants.ts'
import Circle from '../../models/circle.ts'
import { CircleEdit, editCircle } from '../../services/circles.ts'
import { showError } from '@nextcloud/dialogs'
diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue
index 18f8c7c0b..52eb89535 100644
--- a/src/components/ContactDetails.vue
+++ b/src/components/ContactDetails.vue
@@ -48,6 +48,7 @@
+
@@ -88,14 +89,14 @@
-
+ :href="'mailto:' + address">
- {{ emailAddress }}
+ {{ address }}
-
diff --git a/src/components/Properties/PropertyTitle.vue b/src/components/Properties/PropertyTitle.vue
index d30d5c436..bc263d930 100644
--- a/src/components/Properties/PropertyTitle.vue
+++ b/src/components/Properties/PropertyTitle.vue
@@ -68,7 +68,7 @@ export default {
},
bus: {
type: Object,
- required: false,
+ default: () => ({}),
},
},
computed: {
diff --git a/src/models/circle.ts b/src/models/circle.ts
index 66254039a..d60632993 100644
--- a/src/models/circle.ts
+++ b/src/models/circle.ts
@@ -21,7 +21,7 @@ export default class Circle {
/**
* Creates an instance of Circle
*
- * @param data
+ * @param {object} data Circle data object
*/
constructor(data: object) {
this.updateData(data)
@@ -30,7 +30,7 @@ export default class Circle {
/**
* Update inner circle data, owner and initiator
*
- * @param data
+ * @param {object} data Updated circle data
*/
updateData(data: any) {
if (typeof data !== 'object') {
@@ -155,7 +155,7 @@ export default class Circle {
/**
* Add a member to this circle
*
- * @param member
+ * @param {Member} member The member to add to the circle
*/
addMember(member: Member) {
if (member.constructor.name !== Member.name) {
@@ -172,7 +172,7 @@ export default class Circle {
/**
* Remove a member from this circle
*
- * @param member
+ * @param {Member} member The member to remove from the circle
*/
deleteMember(member: Member) {
if (member.constructor.name !== Member.name) {
diff --git a/src/models/contact.js b/src/models/contact.js
index cfb275eff..61a3edb8f 100644
--- a/src/models/contact.js
+++ b/src/models/contact.js
@@ -560,7 +560,7 @@ export default class Contact {
*
* @readonly
* @memberof Contact
- * @return {Property[]} http://mozilla-comm.github.io/ical.js/api/ICAL.Property.html
+ * @return {object[]} http://mozilla-comm.github.io/ical.js/api/ICAL.Property.html
*/
get properties() {
return this.vCard.getAllProperties()
diff --git a/src/models/member.ts b/src/models/member.ts
index 38f5acc97..ec1c90142 100644
--- a/src/models/member.ts
+++ b/src/models/member.ts
@@ -16,8 +16,8 @@ export default class Member {
/**
* Creates an instance of Member
*
- * @param data
- * @param circle
+ * @param {any} data The member data
+ * @param {Circle} circle The circle this member belongs to
*/
constructor(data: any, circle: Circle) {
if (typeof data !== 'object') {
diff --git a/src/oca/mountContactDetails.js b/src/oca/mountContactDetails.js
index 36e12ec27..b12b6459e 100644
--- a/src/oca/mountContactDetails.js
+++ b/src/oca/mountContactDetails.js
@@ -15,8 +15,10 @@ import store from '../store/index.js'
import logger from '../services/logger.js'
/**
- * @param {HTMLElement} el
- * @param {string} contactEmailAddress
+ * Mount the contact details component
+ *
+ * @param {HTMLElement} el The element to mount the component to
+ * @param {string} contactEmailAddress The email address of the contact
* @return {Promise