File tree 2 files changed +7
-13
lines changed
projects/fleet-management-grid/src/app
2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ igx-card {
236
236
237
237
.overlay-location-content ,
238
238
.overlay-driver-content {
239
+ display : flex ;
239
240
height : 48% ;
240
241
width : 100% ;
241
242
padding : 0px ;
@@ -260,8 +261,6 @@ igx-card {
260
261
261
262
.driver-block-container {
262
263
display : flex ;
263
- flex-direction : row ;
264
- justify-self : center ;
265
264
width : 85% ;
266
265
}
267
266
Original file line number Diff line number Diff line change @@ -17,20 +17,15 @@ export class DataService {
17
17
private costData = COST_DATA ;
18
18
private utilizationData = UTILIZATION_DATA ;
19
19
20
- private bind : ( ) => void ;
21
-
22
20
private fuelCostsCache : { [ key : string ] : any [ ] } = { } ;
23
21
24
22
constructor ( ) {
25
- this . bind = ( ) => {
26
- this . utilizationData . forEach ( vehicle => {
27
- ( vehicle . utilization as any ) . __dataIntents = {
28
- "'2023'" : [ "SeriesTitle/2023" ] ,
29
- "'2024'" : [ "SeriesTitle/2024" ]
30
- } ;
31
- } )
32
- } ;
33
- this . bind ( ) ;
23
+ this . utilizationData . forEach ( vehicle => {
24
+ ( vehicle . utilization as any ) . __dataIntents = {
25
+ "'2023'" : [ "SeriesTitle/2023" ] ,
26
+ "'2024'" : [ "SeriesTitle/2024" ]
27
+ } ;
28
+ } )
34
29
}
35
30
36
31
public getVehiclesData ( ) {
You can’t perform that action at this time.
0 commit comments