diff --git a/packages/applet/src/components/state/StateFieldViewer.vue b/packages/applet/src/components/state/StateFieldViewer.vue index ec8a5e2a..a9d0face 100644 --- a/packages/applet/src/components/state/StateFieldViewer.vue +++ b/packages/applet/src/components/state/StateFieldViewer.vue @@ -65,7 +65,8 @@ const normalizedDisplayedValue = computed(() => { const _type = (props.data.value as InspectorCustomState)?._custom?.type const _value = type.value === 'custom' && !_type ? `"${displayedValue.value}"` : (displayedValue.value === '' ? `""` : displayedValue.value) const normalizedType = type.value === 'custom' && _type === 'ref' ? getInspectorStateValueType(_value) : type.value - const result = `${_value}` + const selectText = type.value === 'string' ? 'select-text' : '' + const result = `${_value}` if (extraDisplayedValue) return `${result} (${extraDisplayedValue})`