diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index f05b8e292..b9c1a6f0f 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -318,7 +318,7 @@ :header="t('contacts', 'Media shares with you')" :item-id="contact.uid" :primary="true" - @has-resources="value => hasRelatedResources = value" + @has-resources="value => hasFilesResources = value" @has-error="value => filesPanelHasError = value" /> @@ -504,7 +504,10 @@ export default { showMenuPopover: false, profileEnabled, isTalkEnabled, - hasRelatedResources: false, + hasFilesResources: false, + hasTalkResources: false, + hasCalendarResources: false, + hasDeckResources: false, deckPanelHasError: false, filesPanelHasError: false, talkPanelHasError: false, @@ -514,6 +517,9 @@ export default { }, computed: { + hasRelatedResources() { + return this.hasFilesResources || this.hasTalkResources || this.hasCalendarResources || this.hasDeckResources + }, /** * The address book is read-only (e.g. shared with me). *