File tree Expand file tree Collapse file tree 2 files changed +19
-22
lines changed
common/utils/src/lib/functions
streets/explorer/src/lib/components/safety-metrics-panel/component Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export function asyncComputed<T>(
2222
2323 resultSignal . set ( unwrappedResult as unknown as T ) ;
2424 } ,
25- { allowSignalWrites : true } ,
2625 ) ;
2726
2827 return resultSignal . asReadonly ( ) ;
Original file line number Diff line number Diff line change 77 > </ m-safe-metrics-digit-panel >
88 }
99
10- @if (_metricsIncidentTypes$.value()) {
11- @if (element === 1) {
12- < p-chart
13- type ="bar "
14- [data] ="_barMetricsRideIncidentDistributionData$() "
15- [responsive] ="true "
16- [options] ="_barMetricsRideIncidentDistributionOptions "
17- size ="large "
18- >
19- </ p-chart >
20- }
21- @if (element === 2) {
22- < p-chart
23- type ="pie "
24- [data] ="_pieMetricsIncidentTypesData$() "
25- [responsive] ="true "
26- [options] ="_pieMetricsIncidentTypesOptions "
27- size ="large "
28- >
29- </ p-chart >
30- }
10+ @if (element === 1) {
11+ < p-chart
12+ type ="bar "
13+ [data] ="_barMetricsRideIncidentDistributionData$() "
14+ [responsive] ="true "
15+ [options] ="_barMetricsRideIncidentDistributionOptions "
16+ size ="large "
17+ >
18+ </ p-chart >
19+ }
20+ @if (element === 2) {
21+ < p-chart
22+ type ="pie "
23+ [data] ="_pieMetricsIncidentTypesData$() "
24+ [responsive] ="true "
25+ [options] ="_pieMetricsIncidentTypesOptions "
26+ size ="large "
27+ >
28+ </ p-chart >
3129 }
3230 </ ng-template >
3331 </ p-carousel >
You can’t perform that action at this time.
0 commit comments