File tree 1 file changed +2
-1
lines changed
packages/applet/src/components/state
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ const normalizedDisplayedValue = computed(() => {
65
65
const _type = (props .data .value as InspectorCustomState )?._custom ?.type
66
66
const _value = type .value === ' custom' && ! _type ? ` "${displayedValue .value }" ` : (displayedValue .value === ' ' ? ` "" ` : displayedValue .value )
67
67
const normalizedType = type .value === ' custom' && _type === ' ref' ? getInspectorStateValueType (_value ) : type .value
68
- const result = ` <span class="${normalizedType }-state-type flex whitespace-nowrap">${_value }</span> `
68
+ const selectText = type .value === ' string' ? ' select-text' : ' '
69
+ const result = ` <span class="${normalizedType }-state-type flex whitespace-nowrap ${selectText }">${_value }</span> `
69
70
70
71
if (extraDisplayedValue )
71
72
return ` ${result } <span class="text-gray-500">(${extraDisplayedValue })</span> `
You can’t perform that action at this time.
0 commit comments