File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
packages/applet/src/components/state Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -203,17 +203,15 @@ async function submitDrafting() {
203
203
{{ normalizedDisplayedKey }}
204
204
</span >
205
205
<span mx1 >:</span >
206
- <StateFieldInputEditor v-if =" editing" v-model =" editingText" :custom-type =" raw.customType" @cancel =" toggleEditing" @submit =" submit" />
207
- <template v-if =" ! editing " >
208
- <span :class =" stateFormatClass" class =" flex whitespace-nowrap" >
209
- <span class =" flex" v-html =" normalizedDisplayedValue" />
210
- </span >
211
- <StateFieldEditor
212
- :hovering =" isHovering" :disable-edit =" state.disableEdit"
213
- :data =" data" :depth =" depth" @enable-edit-input =" toggleEditing"
214
- @add-new-prop =" addNewProp"
215
- />
216
- </template >
206
+ <StateFieldInputEditor v-if =" editing" v-model =" editingText" class =" mr-1" :custom-type =" raw.customType" @cancel =" toggleEditing" @submit =" submit" />
207
+ <span :class =" stateFormatClass" class =" flex whitespace-nowrap" >
208
+ <span class =" flex" v-html =" normalizedDisplayedValue" />
209
+ </span >
210
+ <StateFieldEditor
211
+ :hovering =" isHovering" :disable-edit =" state.disableEdit || editing"
212
+ :data =" data" :depth =" depth" @enable-edit-input =" toggleEditing"
213
+ @add-new-prop =" addNewProp"
214
+ />
217
215
</div >
218
216
<div v-if =" hasChildren && expanded.includes(`${depth}-${index}`)" >
219
217
<ChildStateViewer :data =" normalizedDisplayedChildren" :depth =" depth" :index =" index" />
You can’t perform that action at this time.
0 commit comments