From 52f0544052e18058577a20916e09062d6b1ed896 Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Wed, 31 Jan 2024 08:01:08 +0100 Subject: [PATCH] fix: disable retry for token fetching --- packages/power-bi/package.json | 2 +- packages/power-bi/src/lib/components/report/Report.tsx | 1 + packages/workspace-fusion/package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/power-bi/package.json b/packages/power-bi/package.json index 9e71c5531..fee7d3d85 100644 --- a/packages/power-bi/package.json +++ b/packages/power-bi/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/workspace-powerbi", - "version": "1.0.13", + "version": "1.0.14", "type": "module", "sideEffects": false, "license": "MIT", diff --git a/packages/power-bi/src/lib/components/report/Report.tsx b/packages/power-bi/src/lib/components/report/Report.tsx index dce658509..fed3f2453 100644 --- a/packages/power-bi/src/lib/components/report/Report.tsx +++ b/packages/power-bi/src/lib/components/report/Report.tsx @@ -12,6 +12,7 @@ export function Report({ getEmbedInfo, getToken, reportUri, controller, filters, queryFn: ({ signal }) => getToken(reportUri, signal), refetchInterval: generateRefetchInterval, suspense: true, + retry: false, useErrorBoundary: true, refetchOnWindowFocus: true, }); diff --git a/packages/workspace-fusion/package.json b/packages/workspace-fusion/package.json index 64d7c747d..978cf28c8 100644 --- a/packages/workspace-fusion/package.json +++ b/packages/workspace-fusion/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/workspace-fusion", - "version": "7.0.1", + "version": "7.0.2", "type": "module", "sideEffects": false, "license": "MIT",