Skip to content

Commit

Permalink
Fixed loop in theme extension
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovmr committed Sep 10, 2024
1 parent 6634229 commit 4889c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/theme/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const extension: JupyterFrontEndPlugin<ILauncher> = {

// Find the MainLogo widget in the shell and replace it with the Elyra Logo
const widgets = app.shell.widgets('top');
const next = widgets.next();
let next = widgets.next();

while (!next.done) {
const widget = next.value;
Expand All @@ -92,6 +92,7 @@ const extension: JupyterFrontEndPlugin<ILauncher> = {

break;
}
next = widgets.next();
}

// Use custom Elyra launcher
Expand Down

0 comments on commit 4889c82

Please sign in to comment.