Commit 2d0f4c5
committed
fix: fix possible error in SimplePowerBIReportEmbed
When the prop visibleScenarios is not provided, the component could raise
an error because it tries to access .length of the visibleScenarios array
when building the ScenarioDTO for dynamic filters
(cherry picked from commit e155693)1 parent 494ae31 commit 2d0f4c5
File tree
1 file changed
+1
-0
lines changed- src/charts/SimplePowerBIReportEmbed
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
| |||
0 commit comments