mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
fix bugs found by sonarqube
This commit is contained in:
@@ -185,7 +185,7 @@ class Sources extends React.Component<Props, State> {
|
||||
defaultBranch={
|
||||
branches && branches.filter(b => b.defaultBranch === true)[0]
|
||||
}
|
||||
branches={branches && branches}
|
||||
branches={branches}
|
||||
repository={repository}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user