mirror of
https://github.com/desktop/desktop
synced 2024-09-13 21:31:32 +00:00
Don't add stuff to non selectable diffs
This commit is contained in:
parent
022f6e17c1
commit
228c82fa33
|
@ -565,6 +565,10 @@ export class SideBySideDiffRow extends React.Component<
|
|||
}
|
||||
|
||||
private renderLineNumberCheck(isSelected?: boolean) {
|
||||
if (!this.props.isDiffSelectable) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="line-number-check">
|
||||
{isSelected ? <Octicon symbol={OcticonSymbol.check} /> : null}
|
||||
|
|
Loading…
Reference in a new issue