Skip to content

Commit

Permalink
🐛 [feat/rework-scania] #78 finalizing somme adjustment on skins
Browse files Browse the repository at this point in the history
  • Loading branch information
JAGFx committed Apr 3, 2022
1 parent 271952f commit ae669fb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assets/scss/dashboard/shared/_map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@

.unit { font-size: .7rem; }

width: 5.5rem;
width: 6rem;
}

.truck-gears {
Expand Down
8 changes: 7 additions & 1 deletion src/components/dashboards/DefaultDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@
<th>{{ $t('Deadline in') }}:</th>
<td>
<span class="job-remainingTime">
{{ telemetry2.job.remainingTimeForDeliveryTime }}
{{
$dateTimeLocalized(
telemetry2.navigation.etaDueDate,
DATE_FORMAT_LONG,
TIME_FORMAT_SHORT
)
}}
</span>
<span class="_jobIncome">
(<span class="job-income">
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboards/jagfx/Zone/JagfxTruck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
telemetry2.truck.ignitionIsTurnedOn
"
>
{{ telemetry2.truck.cruiseControlSpeed }}
{{ telemetry2.truck.cruiseControlSpeed.toFixed(0) }}
{{ $unitReadable('unit_speed') }}
</span>
<span v-else />
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboards/scania/display/ScaniaDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<span
v-if="telemetry2.symbols.cruiseControlIsEnabled"
class="value pb-2"
>{{ telemetry2.truck.cruiseControlSpeed }}</span
>{{ telemetry2.truck.cruiseControlSpeed.toFixed(0) }}</span
>
<span v-else class="value pb-2">-</span>
<span class="unit">{{ $unitReadable('unit_speed') }}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboards/shared/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
>{{ $t('OFF') }}</span
>
<span v-else class="pl-2">
{{ telemetry2.truck.speed.toFixed(0) }}
{{ telemetry2.truck.cruiseControlSpeed.toFixed(0) }}
{{ $unitReadable('unit_speed') }}
</span>
</div>
Expand Down

0 comments on commit ae669fb

Please sign in to comment.