Update CHANGELOG.md

This commit is contained in:
Florian Scholdei
2020-10-15 00:38:29 +02:00
parent ce56ec02d8
commit ed4a564677
2 changed files with 5 additions and 1 deletions

View File

@@ -488,7 +488,7 @@ class DiffFile extends React.Component<Props, State> {
if (file?.hunks?.length) {
modalContent = (
<FullscreenModal
title={this.renderFileTitle(file)}
title={file.type === "delete" ? file.oldPath : file.newPath}
closeFunction={() => this.closeModal()}
body={<MarginlessModalContent>{body}</MarginlessModalContent>}
active={showFullscreenModal}