diff --git a/src/components/AppContent/CircleContent.vue b/src/components/AppContent/CircleContent.vue index 67540d295..bcbc473ab 100644 --- a/src/components/AppContent/CircleContent.vue +++ b/src/components/AppContent/CircleContent.vue @@ -54,7 +54,7 @@ export default { props: { loading: { type: Boolean, - default: true, + default: false, }, }, diff --git a/src/components/AppContent/ContactsContent.vue b/src/components/AppContent/ContactsContent.vue index ea7788e34..f0a1923ed 100644 --- a/src/components/AppContent/ContactsContent.vue +++ b/src/components/AppContent/ContactsContent.vue @@ -88,7 +88,7 @@ export default { props: { loading: { type: Boolean, - default: true, + default: false, }, contactsList: { @@ -97,6 +97,8 @@ export default { }, }, + emits: ['new-contact'], + data() { return { searchQuery: '', diff --git a/src/components/AppNavigation/ContactsSettings.vue b/src/components/AppNavigation/ContactsSettings.vue index 5e2099613..c1186de1c 100644 --- a/src/components/AppNavigation/ContactsSettings.vue +++ b/src/components/AppNavigation/ContactsSettings.vue @@ -74,6 +74,8 @@ export default { }, }, + emits: ['update:open', 'clicked', 'file-loaded'], + data() { return { allowSocialSync: loadState('contacts', 'allowSocialSync') !== 'no', diff --git a/src/components/AppNavigation/GroupNavigationItem.vue b/src/components/AppNavigation/GroupNavigationItem.vue index 675391bb0..cf51938bd 100644 --- a/src/components/AppNavigation/GroupNavigationItem.vue +++ b/src/components/AppNavigation/GroupNavigationItem.vue @@ -130,6 +130,8 @@ export default { }, }, + emits: ['updateRouteState'], + data() { return { newGroupName: '', @@ -248,8 +250,8 @@ export default { /** * Open mailto: for contacts in a group * - * @param {object} group of contacts to be emailed - * @param {string} mode + * @param {object} group contacts to be emailed + * @param {string} mode the email mode */ emailGroup(group, mode = 'to') { const emails = [] diff --git a/src/components/AppNavigation/Settings/SettingsImportContacts.vue b/src/components/AppNavigation/Settings/SettingsImportContacts.vue index fd6f440d4..fa9c420de 100644 --- a/src/components/AppNavigation/Settings/SettingsImportContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsImportContacts.vue @@ -14,7 +14,6 @@ diff --git a/src/components/ChartTemplate.vue b/src/components/ChartTemplate.vue index 08d8d719a..37c10aeeb 100644 --- a/src/components/ChartTemplate.vue +++ b/src/components/ChartTemplate.vue @@ -56,11 +56,6 @@ export default { type: Object, default: () => {}, }, - - onAvatarClick: { - type: Function, - default: () => {}, - }, }, computed: { diff --git a/src/components/CircleDetails.vue b/src/components/CircleDetails.vue index 82dd83816..07df2a027 100644 --- a/src/components/CircleDetails.vue +++ b/src/components/CircleDetails.vue @@ -666,10 +666,10 @@ export default { }, /** - * Autocomplete @mentions on the description + * Autocomplete \@mentions on the description * * @param {string} search the search term - * @param {Function} callback callback to be called with results array + * @param {(results: Array) => void} callback callback to be called with results array */ onAutocomplete(search, callback) { // TODO: implement autocompletion. Disabled for now diff --git a/src/components/ConfirmationDialog.vue b/src/components/ConfirmationDialog.vue index dc5af6ce9..95d3ae3dd 100644 --- a/src/components/ConfirmationDialog.vue +++ b/src/components/ConfirmationDialog.vue @@ -57,7 +57,7 @@ export default { disabled: { type: Boolean, - default: undefined, + default: false, }, }, diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index 7a66913f3..d418b390f 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -51,7 +51,7 @@