mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
added gitbranchinformation binding
This commit is contained in:
@@ -82,8 +82,8 @@ const mapStateToProps = (state, ownProps) => {
|
||||
|
||||
const mapDispatchToProps = dispatch => {
|
||||
return {
|
||||
fetchBranchByName: (repository: string, branchName: string) => {
|
||||
dispatch(fetchBranchByName(repository, branchName));
|
||||
fetchBranchByName: (repository: Repository, branchName: string) => {
|
||||
dispatch(fetchBranchByName(repository._links.branches.href, branchName));
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user