Skip to content

Commit 9695db5

Browse files
authoredFeb 4, 2024
fix(client): deserialize value on drafting new prop (#222)
1 parent 112ecb7 commit 9695db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/client/src/components/inspector/InspectorStateField.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ function submitDrafting() {
156156
nodeId,
157157
state: {
158158
newKey: draftingNewProp.value.key,
159-
type: typeof draftingNewProp.value.value,
160-
value: draftingNewProp.value.value,
159+
type: typeof toSubmit(draftingNewProp.value.value),
160+
value: toSubmit(draftingNewProp.value.value),
161161
},
162162
} satisfies InspectorStateEditorPayload)
163163
resetDrafting()

0 commit comments

Comments
 (0)
Please sign in to comment.