fix: entity state and execute automation cards aren't movable (#2043)
* fix: entity state and execute automation cards aren't movable * fix: disable eslint issue
This commit is contained in:
@@ -60,7 +60,12 @@ export default function SmartHomeTriggerAutomationWidget({
|
||||
);
|
||||
|
||||
return (
|
||||
<UnstyledButton onClick={handleClick} style={{ cursor: !isEditMode ? "pointer" : "initial" }} w="100%" h="100%">
|
||||
<UnstyledButton
|
||||
onClick={handleClick}
|
||||
style={{ cursor: !isEditMode ? "pointer" : "initial", pointerEvents: isEditMode ? "none" : undefined }}
|
||||
w="100%"
|
||||
h="100%"
|
||||
>
|
||||
{isShowSuccess && (
|
||||
<Overlay>
|
||||
<Center w="100%" h="100%">
|
||||
|
||||
Reference in New Issue
Block a user