a
This commit is contained in:
@@ -7,6 +7,7 @@ import { PROJECT_PATH } from '../api';
|
||||
import { MenuAppBar } from '../components';
|
||||
import { AuthenticatedRoute } from '../authentication';
|
||||
import FanCtlControl from './FanCtlControl';
|
||||
import FanCtlSettings from './FanCtlSettings';
|
||||
|
||||
class FanCtlProject extends Component<RouteComponentProps> {
|
||||
|
||||
@@ -23,7 +24,7 @@ class FanCtlProject extends Component<RouteComponentProps> {
|
||||
</Tabs>
|
||||
<Switch>
|
||||
<AuthenticatedRoute exact path={`/${PROJECT_PATH}/fanctl/control`} component={FanCtlControl} />
|
||||
<AuthenticatedRoute exact path={`/${PROJECT_PATH}/fanctl/settings`} component={FanCtlControl} />
|
||||
<AuthenticatedRoute exact path={`/${PROJECT_PATH}/fanctl/settings`} component={FanCtlSettings} />
|
||||
<Redirect to={`/${PROJECT_PATH}/fanctl/control`} />
|
||||
</Switch>
|
||||
</MenuAppBar>
|
||||
|
||||
Reference in New Issue
Block a user