Skip to content

Commit b9712c6

Browse files
authored
ui: fix missing component in SearchView (apache#5123)
TooltipButton was not added as Vue component. It was leading to error in page load. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent faa5743 commit b9712c6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ui/src/components/view/SearchView.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<a-input ref="input" :value="inputKey" @change="e => inputKey = e.target.value" style="width: 50px; text-align: center" :placeholder="$t('label.key')" />
7777
<a-input style=" width: 20px; border-left: 0; pointer-events: none; backgroundColor: #fff" placeholder="=" disabled />
7878
<a-input :value="inputValue" @change="handleValueChange" style="width: 50px; text-align: center; border-left: 0" :placeholder="$t('label.value')" />
79-
<tooltip-button icon="close" size="small" @click="inputKey = inputValue = ''" />
79+
<tooltip-button :tooltip="$t('label.clear')" icon="close" size="small" @click="inputKey = inputValue = ''" />
8080
</a-input-group>
8181
</div>
8282
</div>
@@ -112,9 +112,13 @@
112112

113113
<script>
114114
import { api } from '@/api'
115+
import TooltipButton from '@/components/view/TooltipButton'
115116
116117
export default {
117118
name: 'SearchView',
119+
components: {
120+
TooltipButton
121+
},
118122
props: {
119123
searchFilters: {
120124
type: Array,

0 commit comments

Comments
 (0)