Dismiss "create new repo" dialog when clicking on "add this repo"

This commit is contained in:
Sergio Padrino 2023-08-22 08:56:17 +02:00
parent 5ac10f76b5
commit 2a77af4565

View file

@ -581,6 +581,8 @@ export class CreateRepository extends React.Component<
}
private onAddRepositoryClicked = () => {
this.props.onDismissed()
const { path, name } = this.state
// Shouldn't be able to even get here if path is null.