Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Ratsun committed Nov 22, 2023
1 parent a6c8c8e commit 7dcbb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Listeners/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function updateRelationshipPanels(array &$data): void
continue 1;
}
foreach ($defs['links'] as $link => $linkData) {
if (!empty($linkData['entity']) && $linkData['entity'] == 'Asset') {
if (!empty($linkData['entity']) && $linkData['entity'] == 'Asset' && !isset($data['clientDefs'][$scope]['relationshipPanels'][$link]['view'])) {
$data['clientDefs'][$scope]['relationshipPanels'][$link]['view'] = "dam:views/record/panels/assets";
}
}
Expand Down

0 comments on commit 7dcbb36

Please sign in to comment.