diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-01 09:04:02 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-01 09:04:02 +0000 |
commit | 4b92ca999c48367f8855da95a1f4d46c9d152524 (patch) | |
tree | 0ffb51a1536db471a44e524d4c7cc6377698fd21 /app/assets | |
parent | 6fd4086b1a967fba1ed7985b0a4bceba860437a9 (diff) | |
parent | c8d8dffecc73c0553b960310bb6de8ceb9bfffe7 (diff) | |
download | gitlab-ce-4b92ca999c48367f8855da95a1f4d46c9d152524.tar.gz |
Merge branch 'fl-expandbutton-backport' into 'master'
Use v-if in the expand button for performance
See merge request gitlab-org/gitlab-ce!17394
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/expand_button.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/expand_button.vue b/app/assets/javascripts/vue_shared/components/expand_button.vue index 3595a9389e9..c943c8d98a4 100644 --- a/app/assets/javascripts/vue_shared/components/expand_button.vue +++ b/app/assets/javascripts/vue_shared/components/expand_button.vue @@ -39,7 +39,7 @@ @click="onClick"> ... </button> - <span v-show="!isCollapsed"> + <span v-if="!isCollapsed"> <slot name="expanded"></slot> </span> </span> |