From f1c058131302d396528af653a029fcf3de972bea Mon Sep 17 00:00:00 2001 From: Alireza Date: Wed, 17 May 2023 14:13:19 -0400 Subject: [PATCH] fix(thumbnail): it was commented out by mistake (#3403) --- modes/longitudinal/src/index.js | 2 +- .../metadataProvider/fetchPaletteColorLookupTableData.js | 2 +- platform/docs/docs/configuration/url.md | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modes/longitudinal/src/index.js b/modes/longitudinal/src/index.js index 129c55335..0c3e3d4d4 100644 --- a/modes/longitudinal/src/index.js +++ b/modes/longitudinal/src/index.js @@ -194,7 +194,7 @@ function modeFactory() { return { id: ohif.layout, props: { - // leftPanels: [tracked.thumbnailList], + leftPanels: [tracked.thumbnailList], rightPanels: [dicomSeg.panel, tracked.measurements], rightPanelDefaultClosed: true, viewports: [ diff --git a/platform/core/src/utils/metadataProvider/fetchPaletteColorLookupTableData.js b/platform/core/src/utils/metadataProvider/fetchPaletteColorLookupTableData.js index 54cdff170..1975b3942 100644 --- a/platform/core/src/utils/metadataProvider/fetchPaletteColorLookupTableData.js +++ b/platform/core/src/utils/metadataProvider/fetchPaletteColorLookupTableData.js @@ -40,7 +40,7 @@ function _getPaletteColor(paletteColorLookupTableData, lutDescriptor) { } } else { for (let i = 0; i < numLutEntries; i++) { - lut[i] = byteArray[i]; + lut[i] = arraybuffer[i]; } } return lut; diff --git a/platform/docs/docs/configuration/url.md b/platform/docs/docs/configuration/url.md index a4ec17580..444146a19 100644 --- a/platform/docs/docs/configuration/url.md +++ b/platform/docs/docs/configuration/url.md @@ -153,3 +153,9 @@ http://localhost:3000/viewer?StudyInstanceUIDs=1.3.6.1.4.1.25403.345050719074.38 You can select the initial hanging protocol to apply by using the hangingProtocolId parameter. The selected parameter must be available in a hangingProtocolModule registration, but does not have to be active. + + +### token + +Although not recommended, you can use the token param in the URL which will inject +the token into the Authorization header of the request.