mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
faa57434ab
commit
b9712c65ca
@ -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 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 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')" />
|
<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>
|
</a-input-group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -112,9 +112,13 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { api } from '@/api'
|
import { api } from '@/api'
|
||||||
|
import TooltipButton from '@/components/view/TooltipButton'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SearchView',
|
name: 'SearchView',
|
||||||
|
components: {
|
||||||
|
TooltipButton
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
searchFilters: {
|
searchFilters: {
|
||||||
type: Array,
|
type: Array,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user