Skip to content

Commit 0d71274

Browse files
committed
Fix: allowed polyline click through in the customer app
1 parent c2d5c32 commit 0d71274

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/workspace/elements/polyline.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const Polyline: React.FC<IPolylineProps> = forwardRef(
9090
props.className,
9191
consumer.styles?.elements?.shape?.base?.className,
9292
consumer.mode === "user" && sectionObject && "cursor-pointer filter hover:brightness-[1.05]",
93+
consumer.mode === "user" && !sectionObject && "pointer-events-none",
9394
sectionObject && consumer.styles?.elements?.section?.base?.className,
9495
sectionObject?.freeSeating && consumer.styles?.elements?.section?.freeSeating?.className
9596
)}

src/stories/customization.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Meta } from "@storybook/blocks";
2-
import { Button } from "../components";
32

43

54

0 commit comments

Comments
 (0)