File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
packages/client/src/components/inspector/InspectorDataField Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -54,16 +54,16 @@ watch(value, checkWarning())
54
54
<span class =" flex-inline items-center gap4px" >
55
55
<VueInput v-model =" value" :variant =" isWarning ? 'warning' : 'normal'" class =" h25px w120px px4px" :auto-focus =" autoFocus" @click.stop />
56
56
<template v-if =" showActions " >
57
+ <VueButton
58
+ v-tooltip =" {
59
+ content: 'Esc to cancel',
60
+ }" size =" mini" flat class =" p2px!" @click.stop =" $emit('cancel')"
61
+ >
62
+ <template #icon >
63
+ <VueIcon icon =" i-material-symbols-cancel" />
64
+ </template >
65
+ </VueButton >
57
66
<template v-if =" ! isWarning " >
58
- <VueButton
59
- v-tooltip =" {
60
- content: 'Esc to cancel',
61
- }" size =" mini" flat class =" p2px!" @click.stop =" $emit('cancel')"
62
- >
63
- <template #icon >
64
- <VueIcon icon =" i-material-symbols-cancel" />
65
- </template >
66
- </VueButton >
67
67
<VueButton
68
68
v-tooltip =" {
69
69
content: 'Enter to submit change',
@@ -74,7 +74,11 @@ watch(value, checkWarning())
74
74
</template >
75
75
</VueButton >
76
76
</template >
77
- <VueIcon v-else icon =" i-material-symbols-warning" class =" color-warning-500 dark:color-warning-300" />
77
+ <VueIcon
78
+ v-else v-tooltip =" {
79
+ content: 'Invalid value',
80
+ }" icon =" i-material-symbols-warning" class =" color-warning-500 dark:color-warning-300"
81
+ />
78
82
</template >
79
83
</span >
80
84
</template >
You can’t perform that action at this time.
0 commit comments