fix source buttons not displaying for file renaming

This commit is contained in:
Konstantin Schaper
2020-08-11 10:09:28 +02:00
parent 94bac2ad37
commit c9ccaed61d
2 changed files with 19 additions and 19 deletions

View File

@@ -177,7 +177,7 @@ class RepositoryRoot extends React.Component<Props> {
break;
default:
if (targetLink) {
links.push(sourceLink, targetLink);
links.push(targetLink, sourceLink); // Target link first because its the previous file
} else {
links.push(sourceLink);
}