Fix // issue with icon path resolution
This commit is contained in:
1 parent
ab929c2827
commit
4cd1763ab7
5 files changed
+8
-5
No files matched your search
@@ -3,7 +3,7 @@ import { ToolbarSection } from 'react-viewerbase';
|
||||
import OHIF from 'ohif-core';
|
||||
|
||||
const { setToolActive } = OHIF.redux.actions;
|
||||
const Icons = `${window.config.routerBasename}/icons.svg`;
|
||||
const Icons = `${window.config.routerBasename}/icons.svg`.replace('//', '/');
|
||||
|
||||
const mapStateToProps = state => {
|
||||
const activeButton = state.tools.buttons.find(tool => tool.active === true);
|
||||
|
||||
Reference in new issue
Block a user