diff --git a/frontend/src/domain/use_cases/showVesselTrackAndSidebar.js b/frontend/src/domain/use_cases/showVesselTrackAndSidebar.js index fb8be4dfe6..32cec0a80f 100644 --- a/frontend/src/domain/use_cases/showVesselTrackAndSidebar.js +++ b/frontend/src/domain/use_cases/showVesselTrackAndSidebar.js @@ -13,7 +13,7 @@ const showVesselTrackAndSidebar = ( calledFromCron, vesselTrackDepthObject) => (dispatch, getState) => { const { - vesselIdentity: alreadySelectedVessel, + selectedVessel: alreadySelectedVessel, vesselsLayerSource } = getState().vessel unselectPreviousVessel(calledFromCron, alreadySelectedVessel, vesselIdentity, dispatch)