From 16be0e6b00be5f2493e1f72ffe27470222423dd4 Mon Sep 17 00:00:00 2001 From: Jorge Lopes <50026015+jlopes90@users.noreply.github.com> Date: Thu, 30 Jan 2020 18:14:15 +0000 Subject: [PATCH] fix: enabledElement.imageId to enabledElement.image.imageId (#1174) --- src/stateManagement/imageIdSpecificStateManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stateManagement/imageIdSpecificStateManager.js b/src/stateManagement/imageIdSpecificStateManager.js index 06413fd31..bb335329e 100755 --- a/src/stateManagement/imageIdSpecificStateManager.js +++ b/src/stateManagement/imageIdSpecificStateManager.js @@ -101,7 +101,7 @@ function newImageIdSpecificToolStateManager() { if (!enabledElement.image) { return; } - clearImageIdToolState(enabledElement.imageId); + clearImageIdToolState(enabledElement.image.imageId); } function clearImageIdToolState(imageId) {