* refactor: 💡 Clean up JSON launch with DICOMWeb server Clean up JSON launch with DICOMWeb server ✅ Closes: #1387 * Remove test file * parse seriesinstanceuids in query * Add default studies * Remove test file * Cleanup retrievedata changes * Set active server
22 lines
445 B
JavaScript
22 lines
445 B
JavaScript
import { connect } from 'react-redux';
|
|
import StandaloneRouting from '../routes/StandaloneRouting';
|
|
|
|
const mapDispatchToProps = dispatch => {
|
|
return {
|
|
activateServer: server => {
|
|
const action = {
|
|
type: 'ACTIVATE_SERVER',
|
|
server,
|
|
};
|
|
dispatch(action);
|
|
},
|
|
};
|
|
};
|
|
|
|
const ConnectedStandaloneRouting = connect(
|
|
null,
|
|
mapDispatchToProps
|
|
)(StandaloneRouting);
|
|
|
|
export default ConnectedStandaloneRouting;
|