Fixed an incorrect condition for an empty array
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
@@ -60,7 +60,7 @@ export function FetchedEntityRefLinks<
|
||||
return 'metadata' in current ? acc : [...acc, parseEntityRef(current)];
|
||||
}, new Array<CompoundEntityRef>());
|
||||
|
||||
return refs
|
||||
return refs.length > 0
|
||||
? (
|
||||
await catalogApi.getEntities({
|
||||
filter: refs.map(ref => ({
|
||||
|
||||
Reference in New Issue
Block a user