mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
Fix expanding diffs without 'normal' line at the end
This commit is contained in:
@@ -212,7 +212,8 @@ class DiffFile extends React.Component<Props, State> {
|
||||
};
|
||||
|
||||
createLastHunkFooter = (expandableHunk: ExpandableHunk) => {
|
||||
if (expandableHunk.maxExpandBottomRange != 0) {
|
||||
console.log("maxExpandBottomRange:", expandableHunk.maxExpandBottomRange);
|
||||
if (expandableHunk.maxExpandBottomRange !== 0) {
|
||||
return (
|
||||
<Decoration>
|
||||
<HunkDivider>
|
||||
|
||||
Reference in New Issue
Block a user