mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 00:10:03 +02:00
fixes frontend button
This commit is contained in:
parent
a77dcfdfae
commit
dfe543067f
@ -40,7 +40,13 @@ export const ButtonComponent = React.memo((props: ButtonComponentProps) => {
|
|||||||
}, [props.value]);
|
}, [props.value]);
|
||||||
|
|
||||||
const setChecked = (checked: boolean) => {
|
const setChecked = (checked: boolean) => {
|
||||||
changeCallback(checked);
|
changeCallback({
|
||||||
|
type: 'bool',
|
||||||
|
value: checked,
|
||||||
|
full_access_path: fullAccessPath,
|
||||||
|
readonly: readOnly,
|
||||||
|
doc: docString
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user