diff --git a/src/components/Toolbar.tsx b/src/components/Toolbar.tsx index 2c833b8e9..4919a229c 100644 --- a/src/components/Toolbar.tsx +++ b/src/components/Toolbar.tsx @@ -259,7 +259,7 @@ export class Toolbar extends React.Component { * @returns React element */ private _renderBranchMenu(): React.ReactElement | null { - if (!this.props.model.pathRepository) { + if (this.props.model.pathRepository === null) { return null; } return (