Skip to content

Commit

Permalink
Console disabled message
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jan 19, 2024
1 parent 6507abe commit 7d20ebb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/dashboard-core-plugins/src/panels/ConsolePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, { PureComponent, ReactElement, RefObject } from 'react';
import shortid from 'shortid';
import debounce from 'lodash.debounce';
import { connect } from 'react-redux';
import { LoadingOverlay } from '@deephaven/components';
import {
CommandHistoryStorage,
Console,
Expand Down Expand Up @@ -377,7 +378,12 @@ export class ConsolePanel extends PureComponent<
} = this.props;

if (sessionWrapper == null) {
return null;
return (
<LoadingOverlay
isLoading={false}
errorMessage="Console option is disabled."
/>
);
}

const { consoleSettings, error, objectMap } = this.state;
Expand Down

0 comments on commit 7d20ebb

Please sign in to comment.