Skip to content

Commit

Permalink
Make title optional for navbar_page like it is in the actual function
Browse files Browse the repository at this point in the history
  • Loading branch information
nstrayer committed Oct 24, 2023
1 parent 8a09c87 commit bef3997
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inst/editor/src/ui-node-definitions/Bslib/page_navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { nodeInfoFactory } from "../nodeInfoFactory";
import type { ShinyUiParentNode, ShinyUiNode } from "../ShinyUiNode";

export const page_navbar = nodeInfoFactory<{
title: string;
title?: string;
collapsible: boolean;
id?: string;
selected?: string;
Expand All @@ -22,6 +22,7 @@ export const page_navbar = nodeInfoFactory<{
takesChildren: true,
settingsInfo: {
title: {
optional: true,
inputType: "string",
label: "Page title",
defaultValue: "navbar-page",
Expand Down

0 comments on commit bef3997

Please sign in to comment.