mirror of
https://github.com/desktop/desktop
synced 2024-09-12 21:01:16 +00:00
Merge pull request #712 from desktop/below-the-fold
Close the foldout after selecting a repository
This commit is contained in:
commit
69784deb0a
|
@ -673,6 +673,7 @@ export class App extends React.Component<IAppProps, IAppState> {
|
|||
|
||||
private onSelectionChanged = (repository: Repository | CloningRepository) => {
|
||||
this.props.dispatcher.selectRepository(repository)
|
||||
this.props.dispatcher.closeFoldout()
|
||||
|
||||
if (repository instanceof Repository) {
|
||||
this.props.dispatcher.refreshGitHubRepositoryInfo(repository)
|
||||
|
|
Loading…
Reference in a new issue