From fad5034e2d967664d13d59547169717b4f665c5c Mon Sep 17 00:00:00 2001 From: maltegrosse Date: Tue, 24 Jan 2023 09:27:49 +0100 Subject: [PATCH] icon --- src/images.ts | 2 +- src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);