Update some node deps.

This commit is contained in:
Filip Barl
2019-03-05 16:01:53 +01:00
parent a32bcc436c
commit 019ab0ff80
19 changed files with 2351 additions and 1378 deletions

View File

@@ -192,10 +192,13 @@ class App extends React.Component {
const {
isTableViewMode, isGraphViewMode, isResourceViewMode, showingDetails,
showingHelp, showingNetworkSelector, showingTroubleshootingMenu,
timeTravelTransitioning, timeTravelSupported
timeTravelTransitioning, timeTravelSupported, contrastMode,
} = this.props;
const className = classNames('scope-app', { 'time-travel-open': timeTravelSupported });
const className = classNames('scope-app', {
'contrast-mode': contrastMode,
'time-travel-open': timeTravelSupported,
});
const isIframe = window !== window.top;
return (
@@ -248,6 +251,7 @@ class App extends React.Component {
function mapStateToProps(state) {
return {
contrastMode: state.get('contrastMode'),
currentTopology: state.get('currentTopology'),
isGraphViewMode: isGraphViewModeSelector(state),
isResourceViewMode: isResourceViewModeSelector(state),