Skip to content

Commit

Permalink
Fix missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Mar 12, 2024
1 parent 7735c98 commit 8e9b2e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/jupyterlab/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { DatalayerWidget } from './widget';
import { datalayerStore } from '../state';
import { IDatalayerConfig } from './tokens';

export * from './tokens';

export class DatalayerConfiguration {
private _configuration?: IDatalayerConfig;
private _configurationChanged: Signal<
Expand Down Expand Up @@ -103,6 +105,12 @@ const plugin: JupyterFrontEndPlugin<IDatalayer> = {
whiteLabel: data.settings.white_label
};
datalayer.configuration.configuration = configuration;

// Don't add user interface elements in white label
if (configuration.whiteLabel) {
return;
}

const { commands } = app;
const command = CommandIDs.create;
if (!tracker) {
Expand Down

0 comments on commit 8e9b2e9

Please sign in to comment.