Skip to content

Commit

Permalink
dont use websocket protocol for jeg backward compatibility and fix ke…
Browse files Browse the repository at this point in the history
…rnel view for non existing icons
  • Loading branch information
sigmarkarl committed Jan 10, 2024
1 parent ee120c8 commit dbbec42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/running/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ function Item(props: {
) : (
<caretDownIcon.react tag="span" stylesheet="runningItem" />
))}
{typeof icon === 'string' ? (
icon ? (
{icon ? (
typeof icon === 'string' ? (
<img src={icon} />
) : undefined
) : (
<icon.react tag="span" stylesheet="runningItem" />
)}
) : (
<icon.react tag="span" stylesheet="runningItem"/>
)
) : undefined}
<span
className={ITEM_LABEL_CLASS}
title={title}
Expand Down
2 changes: 1 addition & 1 deletion packages/services/src/kernel/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ export class KernelConnection implements Kernel.IKernelConnection {
/**
* Create the kernel websocket connection and add socket status handlers.
*/
private _createSocket = (useProtocols = true) => {
private _createSocket = (useProtocols = false) => {
this._errorIfDisposed();

// Make sure the socket is clear
Expand Down

0 comments on commit dbbec42

Please sign in to comment.