diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-07-06 17:57:27 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-07-07 20:54:13 +0200 |
commit | 5c6d653be196c21805c94e1e53936c8d3205a433 (patch) | |
tree | 66f960911f98b451ab39e749a84122644197d3c0 | |
parent | 96eb6fd33b5dfc4910d8bd93e697d6b6eb70b991 (diff) | |
download | gitlab-ce-5c6d653be196c21805c94e1e53936c8d3205a433.tar.gz |
Changed Inline + Parallel Views to v-if instead of v-show
-rw-r--r-- | app/assets/javascripts/diffs/components/diff_content.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_content.vue b/app/assets/javascripts/diffs/components/diff_content.vue index b6af49c7e2e..e9f24b7277e 100644 --- a/app/assets/javascripts/diffs/components/diff_content.vue +++ b/app/assets/javascripts/diffs/components/diff_content.vue @@ -39,12 +39,12 @@ export default { <div class="diff-viewer"> <template v-if="isTextFile"> <inline-diff-view - v-show="isInlineView" + v-if="isInlineView" :diff-file="diffFile" :diff-lines="diffFile.highlightedDiffLines || []" /> <parallel-diff-view - v-show="isParallelView" + v-if="isParallelView" :diff-file="diffFile" :diff-lines="diffFile.parallelDiffLines || []" /> |