diff --git a/scm-ui/ui-components/src/repos/diff/DiffFileTree.tsx b/scm-ui/ui-components/src/repos/diff/DiffFileTree.tsx index 3d71ba683c..b7e57346e7 100644 --- a/scm-ui/ui-components/src/repos/diff/DiffFileTree.tsx +++ b/scm-ui/ui-components/src/repos/diff/DiffFileTree.tsx @@ -149,45 +149,28 @@ const TreeFile: FC = ({ changeType, path, parentPath, currentFile, se return (
setCurrentFile(completePath)}> - {isCurrentFile() ? ( - - - file - - - {getIcon(changeType)} - - - ) : ( - - - file - - - {getIcon(changeType)} - - - )} + + + file + + + {getIcon(changeType)} + +
{path}
);