mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
fix bugs found by sonarqube
This commit is contained in:
@@ -92,7 +92,7 @@ export default class CardColumn extends React.Component<Props> {
|
|||||||
</p>
|
</p>
|
||||||
<p className="shorten-text">{description}</p>
|
<p className="shorten-text">{description}</p>
|
||||||
</ContentLeft>
|
</ContentLeft>
|
||||||
<ContentRight>{contentRight && contentRight}</ContentRight>
|
<ContentRight>{contentRight}</ContentRight>
|
||||||
</div>
|
</div>
|
||||||
<FooterWrapper className={classNames("level", "is-flex")}>
|
<FooterWrapper className={classNames("level", "is-flex")}>
|
||||||
<div className="level-left is-hidden-mobile">{footerLeft}</div>
|
<div className="level-left is-hidden-mobile">{footerLeft}</div>
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ class Sources extends React.Component<Props, State> {
|
|||||||
defaultBranch={
|
defaultBranch={
|
||||||
branches && branches.filter(b => b.defaultBranch === true)[0]
|
branches && branches.filter(b => b.defaultBranch === true)[0]
|
||||||
}
|
}
|
||||||
branches={branches && branches}
|
branches={branches}
|
||||||
repository={repository}
|
repository={repository}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user