fix: include vehicle type in master platform data

This commit is contained in:
2026-10-14 14:06:44 +09:00
parent 7c3f7c8dc1
commit 5ccdc1e843
+3
View File
@@ -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,
}); });
} }
}); });