mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +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 (
|
return (
|
||||||
this.props.branches &&
|
this.props.branches &&
|
||||||
this.props.branches.length > 0 &&
|
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