diff --git a/scm-ui/ui-components/src/repos/DiffFile.js b/scm-ui/ui-components/src/repos/DiffFile.js index b44c697d47..2037666a10 100644 --- a/scm-ui/ui-components/src/repos/DiffFile.js +++ b/scm-ui/ui-components/src/repos/DiffFile.js @@ -29,8 +29,7 @@ type State = { const DiffFilePanel = styled.div` ${props => - props.file && - props.file.isBinary && { + props.isBinary && { borderBottom: "none" }}; `; @@ -260,7 +259,10 @@ class DiffFile extends React.Component { ? fileControlFactory(file, this.setCollapse) : null; return ( - +