We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5542797 commit 3ba0bf5Copy full SHA for 3ba0bf5
src/components/NewBranchDialog.tsx
@@ -271,7 +271,7 @@ export class NewBranchDialog extends React.Component<
271
private _syncState(): void {
272
const repo = this.props.model.pathRepository;
273
this.setState({
274
- base: repo ? this.props.model.currentBranch.name : '',
+ base: repo ? this.state.base : '',
275
current: repo ? this.props.model.currentBranch.name : '',
276
branches: repo ? this.props.model.branches : []
277
});
0 commit comments