Skip to content

Commit

Permalink
Merge pull request #3702 from nextcloud/fix/edit-mode-related-resources
Browse files Browse the repository at this point in the history
Fix the empty content showing on edit mode
  • Loading branch information
GretaD authored Nov 14, 2023
2 parents bc73024 + 28a3d81 commit 5a12cef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ContactDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
class="property--groups property--last"
@update:value="updateGroups" />
</div>
<div v-if="nextcloudVersionAtLeast28" class="related-resources">
<div v-if="nextcloudVersionAtLeast28 && !editMode" class="related-resources">
<NcRelatedResourcesPanel v-if="!filesPanelHasError"
provider-id="account"
resource-type="files"
Expand Down Expand Up @@ -350,7 +350,7 @@
:primary="true"
@has-resources="value => hasRelatedResources = value"
@has-error="value => deckPanelHasError = value" />
<NcEmptyContent v-if="!hasRelatedResources"
<NcEmptyContent v-if="!hasRelatedResources && !loadingData"
:name="t('contacts', 'No shared items with this contact')">
<template #icon>
<FolderMultipleImage :size="20" />
Expand Down Expand Up @@ -473,7 +473,7 @@ export default {
},
desc: {
type: String,
required: true,
required: false,
default: '',
},
},
Expand Down

0 comments on commit 5a12cef

Please sign in to comment.