File tree Expand file tree Collapse file tree 1 file changed +30
-28
lines changed Expand file tree Collapse file tree 1 file changed +30
-28
lines changed Original file line number Diff line number Diff line change @@ -71,34 +71,36 @@ const PipeList: FC = () => {
7171 }
7272
7373 return (
74- < Grid
75- cols = { 12 }
76- layout = { layout }
77- rowHeight = { DASHBOARD_LAYOUT_ROW_HEIGHT }
78- useCSSTransforms = { false }
79- containerPadding = { [ 0 , 0 ] }
80- margin = { [ LAYOUT_MARGIN , LAYOUT_MARGIN ] }
81- onLayoutChange = { layoutChange }
82- draggableHandle = ".cell--draggable"
83- isDraggable
84- isResizable
85- >
86- { flow . data . allIDs
87- . filter (
88- id =>
89- / ^ ( v i s u a l i z a t i o n | m a r k d o w n ) $ / . test ( flow . data . byID [ id ] ?. type ) &&
90- flow . meta . byID [ id ] . visible
91- )
92- . map ( id => (
93- < div
94- key = { id }
95- className = "cell"
96- data-testid = { `cell ${ flow . meta . byID [ id ] . title } ` }
97- >
98- < PresentationPipe id = { id } />
99- </ div >
100- ) ) }
101- </ Grid >
74+ < div className = "flow" >
75+ < Grid
76+ cols = { 12 }
77+ layout = { layout }
78+ rowHeight = { DASHBOARD_LAYOUT_ROW_HEIGHT }
79+ useCSSTransforms = { false }
80+ containerPadding = { [ 0 , 0 ] }
81+ margin = { [ LAYOUT_MARGIN , LAYOUT_MARGIN ] }
82+ onLayoutChange = { layoutChange }
83+ draggableHandle = ".cell--draggable"
84+ isDraggable
85+ isResizable
86+ >
87+ { flow . data . allIDs
88+ . filter (
89+ id =>
90+ / ^ ( v i s u a l i z a t i o n | m a r k d o w n ) $ / . test ( flow . data . byID [ id ] ?. type ) &&
91+ flow . meta . byID [ id ] . visible
92+ )
93+ . map ( id => (
94+ < div
95+ key = { id }
96+ className = "cell"
97+ data-testid = { `cell ${ flow . meta . byID [ id ] . title } ` }
98+ >
99+ < PresentationPipe id = { id } />
100+ </ div >
101+ ) ) }
102+ </ Grid >
103+ </ div >
102104 )
103105 }
104106
You can’t perform that action at this time.
0 commit comments