Skip to content

Commit

Permalink
fix(react-components): return all views for clicked DM mapped asset (#…
Browse files Browse the repository at this point in the history
…4798)

* enable to fetch all views for mapped asset in DM hook

* reverted default true value of fetchViews for useMappedEdgesForRevisions

* bumped version to 0.60.0
  • Loading branch information
pramodcog authored Oct 8, 2024
1 parent 267fed2 commit 37f7dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cognite/reveal-react-components",
"version": "0.59.2",
"version": "0.60.0",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion react-components/src/components/CacheProvider/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function inspectNodes(

for (const nodesChunk of chunkedNodes) {
const chunkInspectionResults = await fdmClient.inspectInstances({
inspectionOperations: { involvedViews: {} },
inspectionOperations: { involvedViews: { allVersions: true } },
items: nodesChunk.map((node) => ({
instanceType: 'node',
externalId: node.externalId,
Expand Down

0 comments on commit 37f7dcb

Please sign in to comment.