diff --git a/src/images.ts b/src/images.ts index 7265611..93593f6 100644 --- a/src/images.ts +++ b/src/images.ts @@ -1,3 +1,3 @@ export default {}; -export const Icon: any = ' ' \ No newline at end of file +export const TrainingIcon: any = ' ' \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 5af0ab1..e6212c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,7 @@ import { ICommandPalette, MainAreaWidget } from '@jupyterlab/apputils'; -import { Icon } from './images'; +import { TrainingIcon } from './images'; import { ISettingRegistry } from '@jupyterlab/settingregistry'; import { LabIcon } from '@jupyterlab/ui-components'; //import { requestAPI } from './handler'; @@ -42,7 +42,7 @@ const plugin: JupyterFrontEndPlugin = { // `The jupyterlab-data-pool server extension appears to be missing.\n${reason}` // ); // }); - const webDavIcon = new LabIcon({ name: 'ui-components:training-icon', svgstr: Icon}); + const webDavIcon = new LabIcon({ name: 'ui-components:training-icon', svgstr: TrainingIcon}); const label = "Training" const content = new TrainingWidget(label);