Skip to content

Commit

Permalink
Display total mass without driver
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickNLT committed Jan 10, 2024
1 parent 866cc03 commit bd7a2b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export function Landing() {
))} />}
/>
</Settings>
<Settings label="Masse totale d'autres matériaux">
<Settings label="Masse totale des autres matériaux">
<SettingsSlider
min={0}
max={2000}
Expand Down Expand Up @@ -501,6 +501,11 @@ export function Landing() {
</Settings>
</SettingsSection>
<SettingsSection title="Transport (non éditable)">
<Settings label="Masse hors conducteur">
<div className="text-lg text-gray-500">
{`${massWithoutDriverKg.toLocaleString()} kg`}
</div>
</Settings>
<div className="flex flex-col w-full">
<Table
showHeader={!isMobile}
Expand Down

0 comments on commit bd7a2b1

Please sign in to comment.