Commit 63e9ca12 authored by clenneville's avatar clenneville Committed by Taurie Davis

Update deprecated error list clear button

Updates clear button in error tracking input field
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36876
parent a9c5768b
...@@ -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,18 @@ export default { ...@@ -267,16 +267,18 @@ 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"
category="primary"
variant="default"
@click="errorSearchQuery = ''" @click="errorSearchQuery = ''"
> >
<gl-icon name="close" :size="12" /> </gl-button>
</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