fix: include vehicle type in master platform data
This commit is contained in:
@@ -3586,6 +3586,7 @@ export class InstructorService {
|
|||||||
displayName: true,
|
displayName: true,
|
||||||
description: true,
|
description: true,
|
||||||
iconKey: true,
|
iconKey: true,
|
||||||
|
vehicleType: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const byBaseName = new Map<string, {
|
const byBaseName = new Map<string, {
|
||||||
@@ -3593,6 +3594,7 @@ export class InstructorService {
|
|||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
iconKey: string;
|
iconKey: string;
|
||||||
|
vehicleType: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
platforms.forEach((platform) => {
|
platforms.forEach((platform) => {
|
||||||
@@ -3603,6 +3605,7 @@ export class InstructorService {
|
|||||||
name: baseName,
|
name: baseName,
|
||||||
description: platform.description,
|
description: platform.description,
|
||||||
iconKey: platform.iconKey,
|
iconKey: platform.iconKey,
|
||||||
|
vehicleType: platform.vehicleType,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user