From fc5301e90408d3af4165c01af6ec225a40eac1b2 Mon Sep 17 00:00:00 2001 From: igoroctaviano Date: Wed, 17 Mar 2021 09:10:27 -0300 Subject: [PATCH 1/2] bug(debugger):Fix bug that breaks mailto introduced by logger service --- extensions/debugging/src/commandsModule.js | 6 +++--- extensions/debugging/src/state.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/debugging/src/commandsModule.js b/extensions/debugging/src/commandsModule.js index a6ad0498f..823bc26b8 100644 --- a/extensions/debugging/src/commandsModule.js +++ b/extensions/debugging/src/commandsModule.js @@ -1,5 +1,5 @@ import OHIF from '@ohif/core'; -import { ToolbarButton, useLogger } from '@ohif/ui'; +import { useLogger } from '@ohif/ui'; import { save, @@ -97,7 +97,7 @@ export function getCommands(context, servicesManager, extensionManager) { const { UIModalService } = servicesManager.services; const WrappedDebugReportModal = function() { - const { state } = useLogger(); + const { state: loggerState } = useLogger(); return ( ); }; diff --git a/extensions/debugging/src/state.js b/extensions/debugging/src/state.js index b3294c700..e537d63b5 100644 --- a/extensions/debugging/src/state.js +++ b/extensions/debugging/src/state.js @@ -1,3 +1,3 @@ -const state = { mailTo: undefined, message: undefined }; +const state = { mailTo: undefined, debugModalMessage: undefined }; export default state; From 5dfa8d465d39b0df607a096c95d949e2e2674612 Mon Sep 17 00:00:00 2001 From: igoroctaviano Date: Fri, 19 Mar 2021 15:12:37 -0300 Subject: [PATCH 2/2] Force pipeline --- platform/viewer/src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/viewer/src/index.js b/platform/viewer/src/index.js index bdc85d2b5..cff2d6b32 100644 --- a/platform/viewer/src/index.js +++ b/platform/viewer/src/index.js @@ -41,7 +41,6 @@ let config = {}; if (window) { config = window.config || {}; - window.version = version; }