mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
Cleaner code
This commit is contained in:
@@ -111,7 +111,7 @@ class Sources extends React.Component<Props> {
|
||||
renderBranchSelector = () => {
|
||||
const { branches, revision } = this.props;
|
||||
|
||||
if (this.props.branches) {
|
||||
if (branches) {
|
||||
return (
|
||||
<BranchSelector
|
||||
branches={branches}
|
||||
|
||||
Reference in New Issue
Block a user