Skip to content

Commit a0099b1

Browse files
committed
Reset the filter upon creating a new branch
1 parent b9ab321 commit a0099b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/NewBranchDialog.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ export class NewBranchDialog extends React.Component<
377377
// Close the branch dialog:
378378
this.props.onClose();
379379

380-
// Reset the branch name:
380+
// Reset the branch name and filter:
381381
this.setState({
382-
name: ''
382+
name: '',
383+
filter: ''
383384
});
384385

385386
// Create the branch:

0 commit comments

Comments
 (0)