File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ function Column(
235235 const {
236236 data,
237237 unitComponent = UnitComponent ,
238- unconformityLabels = false ,
238+ unconformityLabels = true ,
239239 showLabels = true ,
240240 width = 300 ,
241241 columnWidth = 150 ,
@@ -277,10 +277,10 @@ function Column(
277277 "div.main-column" ,
278278 sectionGroups . map ( ( group , i ) => {
279279 const { section_id : id , units : data } = group ;
280- const lastGroup = sectionGroups [ i - 1 ] ?. [ 1 ] ;
280+ const lastGroup = sectionGroups [ i - 1 ] ;
281281 return h ( [
282282 h . if ( unconformityLabels ) ( Unconformity , {
283- upperUnits : lastGroup ,
283+ upperUnits : lastGroup ?. units ,
284284 lowerUnits : data ,
285285 style : { width : showLabels ? columnWidth : width } ,
286286 } ) ,
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ export const Wide: Story = {
122122 b_age : 66 ,
123123 width : 500 ,
124124 columnWidth : 500 ,
125- showLabelColumn : false ,
126125 unitComponentProps : {
127126 nColumns : 2 ,
128127 } ,
You can’t perform that action at this time.
0 commit comments