ui: fix missing component in SearchView (#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>
This commit is contained in:
Abhishek Kumar 2021-06-24 11:07:58 +05:30 committed by GitHub
parent faa57434ab
commit b9712c65ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@
<a-input ref="input" :value="inputKey" @change="e => inputKey = e.target.value" style="width: 50px; text-align: center" :placeholder="$t('label.key')" />
<a-input style=" width: 20px; border-left: 0; pointer-events: none; backgroundColor: #fff" placeholder="=" disabled />
<a-input :value="inputValue" @change="handleValueChange" style="width: 50px; text-align: center; border-left: 0" :placeholder="$t('label.value')" />
<tooltip-button icon="close" size="small" @click="inputKey = inputValue = ''" />
<tooltip-button :tooltip="$t('label.clear')" icon="close" size="small" @click="inputKey = inputValue = ''" />
</a-input-group>
</div>
</div>
@ -112,9 +112,13 @@
<script>
import { api } from '@/api'
import TooltipButton from '@/components/view/TooltipButton'
export default {
name: 'SearchView',
components: {
TooltipButton
},
props: {
searchFilters: {
type: Array,