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