mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: removed obsolete logs
This commit is contained in:
@@ -243,8 +243,6 @@ export default defineComponent({
|
||||
const headLocoName = this.train.stockList[0];
|
||||
const headLocoVehicleData = this.apiStore.vehiclesData?.find((v) => v.name == headLocoName);
|
||||
|
||||
console.log(headLocoName, headLocoVehicleData);
|
||||
|
||||
// Omit speed check for head vehicle if there's no data for it
|
||||
if (!headLocoName || !headLocoVehicleData || !headLocoVehicleData.group.massSpeeds)
|
||||
return vehicleMaxSpeed;
|
||||
@@ -266,7 +264,6 @@ export default defineComponent({
|
||||
);
|
||||
|
||||
const massMaxSpeed = massKey ? massSpeeds[massKey] : Infinity;
|
||||
console.log(massMaxSpeed);
|
||||
|
||||
return Math.min(massMaxSpeed, vehicleMaxSpeed);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user