18559: Add account status indicator to user profile
[arvados-workbench2.git] / src / views / inactive-panel / inactive-panel.tsx
index 91b4a51df8c41b150613077c277d7406b3226f7a..6d8bbf597236115e8d73048df97ece40b4703178 100644 (file)
@@ -2,14 +2,14 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { Dispatch } from 'redux';
 import { connect } from 'react-redux';
 import { Grid, Typography, Button } from '@material-ui/core';
 import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core/styles';
-import { ArvadosTheme } from '~/common/custom-theme';
-import { navigateToLinkAccount } from '~/store/navigation/navigation-action';
-import { RootState } from '~/store/store';
+import { ArvadosTheme } from 'common/custom-theme';
+import { navigateToLinkAccount } from 'store/navigation/navigation-action';
+import { RootState } from 'store/store';
 
 type CssRules = 'root' | 'ontop' | 'title';
 
@@ -54,7 +54,7 @@ export interface InactivePanelStateProps {
 type InactivePanelProps = WithStyles<CssRules> & InactivePanelActionProps & InactivePanelStateProps;
 
 export const InactivePanel = connect((state: RootState) => ({
-    inactivePageText: state.config.clusterConfig.Workbench.InactivePageHTML
+    inactivePageText: state.auth.config.clusterConfig.Workbench.InactivePageHTML
 }), mapDispatchToProps)(withStyles(styles)((({ classes, startLinking, inactivePageText }: InactivePanelProps) =>
     <Grid container justify="center" alignItems="center" direction="column" spacing={24}
         className={classes.root}