Skip to content

Commit

Permalink
Reduce log noise in MagdaReference. (#7108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwu2018 committed Apr 15, 2024
1 parent 5f71c6c commit c514a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -6,6 +6,7 @@
- Fix `PointStyleTraits.marker` bug where URLs were not being used.
- Fixed a bug with passing a relative baseUrl to Cesium >= 1.113.0 when `document.baseURI` is different to its `location`.
- Fix node v18 compatibility by forcing `webpack-terser-plugin` version resolution and fixing new type errors
- Reduce log noise in `MagdaReference`.
- [The next improvement]

#### 8.7.0 - 2024-03-22
Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Catalog/CatalogReferences/MagdaReference.ts
Expand Up @@ -522,7 +522,7 @@ export default class MagdaReference extends AccessControlMixin(
group.setTrait(magdaRecordStratum, "name", record.name);
}
group.setTrait(magdaRecordStratum, "members", filterOutUndefined(ids));
if (GroupMixin.isMixedInto(group)) {
if (GroupMixin.isMixedInto(group) && group.uniqueId) {
console.log(`Refreshing ids for ${group.uniqueId}`);
group.refreshKnownContainerUniqueIds(group.uniqueId);
}
Expand Down

0 comments on commit c514a26

Please sign in to comment.