diff --git a/frontend/src/components/AsyncMethodComponent.tsx b/frontend/src/components/AsyncMethodComponent.tsx index ee8d3b7..9382937 100644 --- a/frontend/src/components/AsyncMethodComponent.tsx +++ b/frontend/src/components/AsyncMethodComponent.tsx @@ -33,6 +33,7 @@ export const AsyncMethodComponent = React.memo((props: AsyncMethodProps) => { socket.emit('frontend_update', { name: method_name, + parent_path: parent_path, value: { args: args } }); }; diff --git a/frontend/src/components/EnumComponent.tsx b/frontend/src/components/EnumComponent.tsx index 93b946b..06787c9 100644 --- a/frontend/src/components/EnumComponent.tsx +++ b/frontend/src/components/EnumComponent.tsx @@ -23,6 +23,7 @@ export const EnumComponent = React.memo((props: EnumComponentProps) => { const handleValueChange = (newValue: string) => { socket.emit('frontend_update', { name: name, + parent_path: parent_path, value: { value: newValue } }); }; diff --git a/frontend/src/components/MethodComponent.tsx b/frontend/src/components/MethodComponent.tsx index 80307ae..2bae8b8 100644 --- a/frontend/src/components/MethodComponent.tsx +++ b/frontend/src/components/MethodComponent.tsx @@ -31,6 +31,7 @@ export const MethodComponent = React.memo((props: MethodProps) => { 'frontend_update', { name: name, + parent_path: parent_path, value: { args: args } }, (ack) => { diff --git a/frontend/src/components/SliderComponent.tsx b/frontend/src/components/SliderComponent.tsx index a69659c..0fcd399 100644 --- a/frontend/src/components/SliderComponent.tsx +++ b/frontend/src/components/SliderComponent.tsx @@ -33,6 +33,7 @@ export const SliderComponent = React.memo((props: SliderComponentProps) => { ) => { socket.emit('frontend_update', { name: name, + parent_path: parent_path, value: { value: newNumber, min: min, max: max, step_size: stepSize } }); };