mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
fixed commits link in branches detail view
This commit is contained in:
@@ -52,7 +52,7 @@ class ChangesetsRoot extends React.Component<Props> {
|
||||
return (
|
||||
this.props.branches &&
|
||||
this.props.branches.length > 0 &&
|
||||
this.props.selected !== this.props.branches.filter(b => b.defaultBranch === true)[0]
|
||||
this.props.branches.filter(b => b.name === this.props.selected).length === 0
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user