Skip to content

Commit

Permalink
fix: enabledElement.imageId to enabledElement.image.imageId (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlopes90 authored Jan 30, 2020
1 parent 4eef070 commit 16be0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stateManagement/imageIdSpecificStateManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function newImageIdSpecificToolStateManager() {
if (!enabledElement.image) {
return;
}
clearImageIdToolState(enabledElement.imageId);
clearImageIdToolState(enabledElement.image.imageId);
}

function clearImageIdToolState(imageId) {
Expand Down

0 comments on commit 16be0e6

Please sign in to comment.