Commit 5903b3e
fix: register Chart.js components in chart-widget test
Add provideCharts(withDefaultRegisterables()) to test providers to fix
"bar is not a registered controller" error.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c4a02de commit 5903b3e
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
- frontend/src/app/components/dashboards/widget-renderers/chart-widget
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments