Skip to content

Commit 2d9d0a9

Browse files
committed
Fix for failing baseline test waterfall_funnel_template_date
1 parent 86478a4 commit 2d9d0a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/traces/funnel/defaults.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ function crossTraceDefaults(fullData, fullLayout) {
7979

8080
for(var i = 0; i < fullData.length; i++) {
8181
traceOut = fullData[i];
82-
traceIn = traceOut._input;
83-
handleGroupingDefaults(traceIn, traceOut, fullLayout, coerce, fullLayout.funnelmode);
82+
if(traceOut.type === 'funnel') {
83+
traceIn = traceOut._input;
84+
handleGroupingDefaults(traceIn, traceOut, fullLayout, coerce, fullLayout.funnelmode);
85+
}
8486
}
8587
}
8688

0 commit comments

Comments
 (0)