functional modal
This commit is contained in:
1 parent
48aae0bf98
commit
90d4fbf8f6
12 files changed
+80
-88
No files matched your search
@@ -32,7 +32,7 @@ export const ActionDeviceState: OptionManager<DeviceAction> = {
|
||||
),
|
||||
renderOptionList: (state, setState) => {
|
||||
const update = updateActionData(state, setState);
|
||||
return <div className="state-manager-options">
|
||||
return <>
|
||||
<InputText
|
||||
label="Description"
|
||||
value={state.action_data.alias ?? ""}
|
||||
@@ -56,6 +56,6 @@ export const ActionDeviceState: OptionManager<DeviceAction> = {
|
||||
value={state.action_data.entity_id ?? ""}
|
||||
onChange={entity_id => update({ entity_id, domain: entity_id.split('.')[0] })}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user