Add StandaloneViewer-style routes

This commit is contained in:
Erik Ziegler committed 2018-12-17 22:50:58 +01:00
1 parent cd6f177bca
commit 4a3a0aa394
7 files changed
+178 -50

No files matched your search

+8
View File
@@ -2,6 +2,7 @@ import React, { Component } from 'react';
import { withRouter } from 'react-router';
import { Route, Switch } from 'react-router-dom';
import ViewerRouting from "./ViewerRouting.js";
import StandaloneRouting from './StandaloneRouting.js';
import IHEInvokeImageDisplay from './IHEInvokeImageDisplay.js';
import './App.css';
import { StudyList } from 'react-viewerbase';
@@ -50,6 +51,13 @@ class App extends Component {
/*auth={this.props.auth}*/
store={this.props.store}
/>
<Route
exact
path="/viewer"
component={StandaloneRouting}
/*auth={this.props.auth}*/
store={this.props.store}
/>
<Route
path="/viewer/:studyInstanceUids"
component={ViewerRouting}