Skip to content

Commit

Permalink
fix side pane showing up when auth is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
targoninc-alex committed Apr 20, 2024
1 parent 9737b97 commit 1f4a74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/lib/node-editor/renderers/dom-renderer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class NodeEditorDomRenderer {
.children(...this.editor.nodes.map(node => this.#renderNode(node, editorSize)))
.build(),
this.#renderEditorSidePane(this.panelCollapsedState),
this.editor.authenticationEnabled ? this.#renderEditorUserSidePane(this.userPanelCollapsedState) : null,
ifjs(this.editor.authenticationEnabled, this.#renderEditorUserSidePane(this.userPanelCollapsedState)),
this.#renderEditorMenu(menuPositionState, menuClassState, editorSize),
create("div")
.classes("toast-container")
Expand Down

0 comments on commit 1f4a74e

Please sign in to comment.