From 0fe8d0a6939f3ffd3d2a4c3e71687851196843d6 Mon Sep 17 00:00:00 2001 From: asalem Date: Mon, 4 Apr 2022 14:32:54 -0700 Subject: [PATCH] fix: update it so that readonly pipelists cant be resized --- src/flows/components/ReadOnlyPipeList.tsx | 3 +++ src/flows/components/VersionPage.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/flows/components/ReadOnlyPipeList.tsx b/src/flows/components/ReadOnlyPipeList.tsx index 6d9baddaf4..d46536f4b4 100644 --- a/src/flows/components/ReadOnlyPipeList.tsx +++ b/src/flows/components/ReadOnlyPipeList.tsx @@ -116,6 +116,9 @@ const ReadOnlyPipeList: FC = () => { useCSSTransforms={false} containerPadding={[0, 0]} margin={[LAYOUT_MARGIN, LAYOUT_MARGIN]} + isDraggable={false} + isResizable={false} + draggableHandle=".cell--draggable" > {flow.data.allIDs .filter( diff --git a/src/flows/components/VersionPage.tsx b/src/flows/components/VersionPage.tsx index 1a04a08397..e616dc268b 100644 --- a/src/flows/components/VersionPage.tsx +++ b/src/flows/components/VersionPage.tsx @@ -39,7 +39,7 @@ const ReadOnlyFlowPage: FC = () => { const {flow} = useContext(FlowContext) return ( - +