diff options
author | Samantha Ming <sming@gitlab.com> | 2019-08-21 11:23:22 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-08-21 11:23:22 +0300 |
commit | 261f4fe7accfb0cad82feed4f74a26e9ccebcbe3 (patch) | |
tree | 94106a06ace1d53d3b6e30d1eab6d28f93130027 /app/assets/javascripts/diffs/components | |
parent | 006bc124366078d717ea8a331fdfd1e2ccd3476f (diff) |
Fix to show renamed file in mr
Diffstat (limited to 'app/assets/javascripts/diffs/components')
-rw-r--r-- | app/assets/javascripts/diffs/components/diff_file_header.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_file_header.vue b/app/assets/javascripts/diffs/components/diff_file_header.vue index 32fbeaaa905..69ec6ab8600 100644 --- a/app/assets/javascripts/diffs/components/diff_file_header.vue +++ b/app/assets/javascripts/diffs/components/diff_file_header.vue @@ -130,7 +130,7 @@ export default { return `\`${this.diffFile.file_path}\``; }, isFileRenamed() { - return this.diffFile.viewer.name === diffViewerModes.renamed; + return this.diffFile.renamed_file; }, isModeChanged() { return this.diffFile.viewer.name === diffViewerModes.mode_changed; |