Skip to content

Commit 9032792

Browse files
committed
'add()' call is indeed necessary (...to display signals in left menu, though they will show up on the canvas w/o it)
1 parent 0455a66 commit 9032792

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/deriveLinkDefaults.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ export function initialLoader(datasets: ILinkConfig['datasets']) {
180180
}
181181

182182
return Promise.all(resolvedDataSets).then((data) => data.filter((d): d is DataSet => d != null));
183+
return Promise.all(resolvedDataSets).then((data) => {
184+
const cleaned = data.filter((d): d is DataSet => d != null);
185+
cleaned.forEach((d) => add(d));
186+
return cleaned;
187+
});
183188
};
184189
}
185190

0 commit comments

Comments
 (0)