diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-28 21:12:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-28 21:12:54 +0300 |
commit | 46c019ae69759f91eb6e71e4aa4dd9b23b136f60 (patch) | |
tree | e10adff0692edd28275aa66a3a27a8b15c5fbd0c /app/assets/javascripts/vue_shared | |
parent | 33d999642a05b1c83c8230cac46086493e7fb368 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/markdown/header.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/markdown/header.vue b/app/assets/javascripts/vue_shared/components/markdown/header.vue index 286a1b87ad0..a569b4ea9a7 100644 --- a/app/assets/javascripts/vue_shared/components/markdown/header.vue +++ b/app/assets/javascripts/vue_shared/components/markdown/header.vue @@ -263,7 +263,7 @@ export default { <gl-button v-if="enablePreview" data-testid="preview-toggle" - value="preview" + :value="previewMarkdown ? 'preview' : 'edit'" :label="$options.i18n.previewTabTitle" class="js-md-preview-button gl-flex-direction-row-reverse gl-align-items-center gl-font-weight-normal! gl-mr-2" size="small" |