Commit 0604eff5 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'error-search-clear' into 'master'

Update deprecated error list clear button

Closes #219885

See merge request gitlab-org/gitlab!36876
parents 53eebcfb a015bad9
......@@ -2,7 +2,7 @@
import { mapActions, mapState } from 'vuex';
import {
GlEmptyState,
GlDeprecatedButton,
GlButton,
GlIcon,
GlLink,
GlLoadingIcon,
......@@ -71,7 +71,7 @@ export default {
},
components: {
GlEmptyState,
GlDeprecatedButton,
GlButton,
GlDropdown,
GlDropdownItem,
GlDropdownDivider,
......@@ -267,16 +267,15 @@ export default {
/>
</div>
<div class="gl-search-box-by-type-right-icons">
<gl-deprecated-button
<gl-button
v-if="errorSearchQuery.length > 0"
v-gl-tooltip.hover
:title="__('Clear')"
class="clear-search text-secondary"
name="clear"
icon="close"
@click="errorSearchQuery = ''"
>
<gl-icon name="close" :size="12" />
</gl-deprecated-button>
/>
</div>
</div>
</div>
......
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