Change MR file header dropdown title and tooltip

- Remove dropdown section header
- Change tooltip to "Options"
parent 8a0ce3fa
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
icon="external-link" icon="external-link"
/> />
<gl-dropdown <gl-dropdown
v-gl-tooltip.hover.focus="__('More actions')" v-gl-tooltip.hover.focus="__('Options')"
right right
toggle-class="btn-icon js-diff-more-actions" toggle-class="btn-icon js-diff-more-actions"
class="gl-pt-0!" class="gl-pt-0!"
...@@ -299,11 +299,8 @@ export default { ...@@ -299,11 +299,8 @@ export default {
> >
<template #button-content> <template #button-content>
<gl-icon name="ellipsis_v" class="mr-0" /> <gl-icon name="ellipsis_v" class="mr-0" />
<span class="sr-only">{{ __('More actions') }}</span> <span class="sr-only">{{ __('Options') }}</span>
</template> </template>
<gl-dropdown-section-header>
{{ __('More actions') }}
</gl-dropdown-section-header>
<gl-dropdown-item <gl-dropdown-item
v-if="diffFile.replaced_view_path" v-if="diffFile.replaced_view_path"
ref="replacedFileButton" ref="replacedFileButton"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment