frontend: passing parent_path via socketio

This commit is contained in:
Mose Müller
2023-08-02 12:06:20 +02:00
parent 7248192e83
commit 6c89059792
4 changed files with 4 additions and 0 deletions

View File

@@ -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 }
});
};