|
@@ -308,13 +308,12 @@ const state: JupyterFrontEndPlugin<IStateDB> = {
|
|
|
autoStart: true,
|
|
|
provides: IStateDB,
|
|
|
requires: [JupyterFrontEnd.IPaths, IRouter, ITranslator],
|
|
|
- optional: [ISplashScreen, IWindowResolver],
|
|
|
+ optional: [IWindowResolver],
|
|
|
activate: (
|
|
|
app: JupyterFrontEnd,
|
|
|
paths: JupyterFrontEnd.IPaths,
|
|
|
router: IRouter,
|
|
|
translator: ITranslator,
|
|
|
- splash: ISplashScreen | null,
|
|
|
resolver: IWindowResolver | null
|
|
|
) => {
|
|
|
const trans = translator.load('jupyterlab');
|
|
@@ -425,11 +424,6 @@ const state: JupyterFrontEndPlugin<IStateDB> = {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- // If a splash provider exists, launch the splash screen.
|
|
|
- const loading = splash
|
|
|
- ? splash.show()
|
|
|
- : new DisposableDelegate(() => undefined);
|
|
|
-
|
|
|
// If the state database has already been resolved, resetting is
|
|
|
// impossible without reloading.
|
|
|
if (resolved) {
|
|
@@ -454,7 +448,6 @@ const state: JupyterFrontEndPlugin<IStateDB> = {
|
|
|
} else {
|
|
|
void cleared.then(() => {
|
|
|
router.navigate(url);
|
|
|
- loading.dispose();
|
|
|
});
|
|
|
}
|
|
|
|