Technically available in _any_ context, not just VTK
This commit is contained in:
parent
46904ea39f
commit
e6c9152cd1
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux';
|
|
||||||
import PluginSwitch from './PluginSwitch.js';
|
|
||||||
import OHIF from 'ohif-core';
|
import OHIF from 'ohif-core';
|
||||||
|
import PluginSwitch from './PluginSwitch.js';
|
||||||
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
const { setLayout } = OHIF.redux.actions;
|
const { setLayout } = OHIF.redux.actions;
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ const mergeProps = (propsFromState, propsFromDispatch, ownProps) => {
|
|||||||
icon: 'cube',
|
icon: 'cube',
|
||||||
active: false,
|
active: false,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
window.commandsManager.runCommand('mpr2d', {}, 'vtk');
|
window.commandsManager.runCommand('mpr2d');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user