From 5b279933806f2ef8359607d99e804b8338b69ab1 Mon Sep 17 00:00:00 2001 From: Gustav-Eikaas <89254170+Gustav-Eikaas@users.noreply.github.com> Date: Wed, 31 Jan 2024 09:48:40 +0100 Subject: [PATCH] fix: disable retry for token fetching (#577) --- 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",