File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ export class PlotsModel extends ModelWithPersistence {
415415 await Promise . all ( [
416416 collectData ( output ) ,
417417 collectTemplates ( output ) ,
418- collectMultiSourceVariations ( output , this . multiSourceVariations )
418+ collectMultiSourceVariations ( output )
419419 ] )
420420
421421 this . comparisonData = {
Original file line number Diff line number Diff line change @@ -85,10 +85,8 @@ const collectPathMultiSourceVariations = (
8585 }
8686}
8787
88- export const collectMultiSourceVariations = (
89- output : PlotsOutput ,
90- acc : Record < string , Record < string , unknown > [ ] >
91- ) => {
88+ export const collectMultiSourceVariations = ( output : PlotsOutput ) => {
89+ const acc : Record < string , Record < string , unknown > [ ] > = { }
9290 const { data } = output
9391 for ( const [ path , plots ] of Object . entries ( data ) ) {
9492 collectPathMultiSourceVariations ( acc , path , plots )
@@ -275,6 +273,8 @@ const collectUnmergedShapeEncoding = (
275273 }
276274}
277275
276+ // this is how we can collect the encoding for multi-source plots
277+ // we need to pass in the anchors that we want to fill as well
278278const collectPathMultiSourceEncoding = (
279279 acc : MultiSourceEncoding ,
280280 path : string ,
You can’t perform that action at this time.
0 commit comments