Skip to content

Commit

Permalink
Put commandRegistry back in consoleOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmooney committed Feb 26, 2025
1 parent 0e549d1 commit 5ae2edf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/base/src/widget.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import {
IJupyterGISDocumentWidget,
IJupyterGISModel,
IJupyterGISOutputWidget
} from '@jupytergis/schema';
import { MainAreaWidget } from '@jupyterlab/apputils';
import { ConsolePanel, IConsoleTracker } from '@jupyterlab/console';
import { DocumentWidget } from '@jupyterlab/docregistry';
import { IObservableMap, ObservableMap } from '@jupyterlab/observables';
import { JSONValue } from '@lumino/coreutils';
import { ISignal, Signal } from '@lumino/signaling';
import { SplitPanel, Widget } from '@lumino/widgets';
import {
IJupyterGISModel,
IJupyterGISOutputWidget,
IJupyterGISDocumentWidget
} from '@jupytergis/schema';

import { CommandRegistry } from '@lumino/commands';
import { MessageLoop } from '@lumino/messaging';
import { ConsoleView } from './console';
import { JupyterGISMainViewPanel } from './mainview';
import { MainViewModel } from './mainview/mainviewmodel';
import { ConsoleView } from './console';
import { MessageLoop } from '@lumino/messaging';
import { CommandRegistry } from '@lumino/commands';

const CELL_OUTPUT_WIDGET_CLASS = 'jgis-cell-output-widget';

Expand Down Expand Up @@ -100,7 +100,7 @@ export class JupyterGISPanel extends SplitPanel {
options;
this._initModel({ model, commandRegistry });
this._initView();
this._consoleOption = consoleOption;
this._consoleOption = { commandRegistry, ...consoleOption };
this._consoleTracker = consoleTracker;
}

Expand Down

0 comments on commit 5ae2edf

Please sign in to comment.