* fix(measurements): Add measurement table functions - Support for labeling measurements and adding measurement description - Jump to measurement when clicked on measurement table * fix(layout): Fix the issues with layout when switched with different plugins * fix(measurements): Support for deleting measurements in measurement table * fix(measurements): Add context menu for measurements * fix(dependencies): Bump ohif-core to 0.4.2
25 lines
455 B
JavaScript
25 lines
455 B
JavaScript
import { connect } from 'react-redux'
|
|
import LabellingOverlay from './LabellingOverlay'
|
|
|
|
const mapStateToProps = state => {
|
|
if (!state.ui || !state.ui.labelling) {
|
|
return {
|
|
visible: false,
|
|
}
|
|
}
|
|
|
|
const labellingFlowData = state.ui.labelling
|
|
|
|
return {
|
|
visible: false,
|
|
...labellingFlowData,
|
|
}
|
|
}
|
|
|
|
const ConnectedLabellingOverlay = connect(
|
|
mapStateToProps,
|
|
null
|
|
)(LabellingOverlay)
|
|
|
|
export default ConnectedLabellingOverlay
|