Skip to content

Commit

Permalink
Fix : show results in missing fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRasho committed Nov 6, 2023
1 parent 367940b commit abc0ad4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,19 @@ const showOutputBar = computed(() => {
:text="engine.electricCurrent"
unit="A"
/>
<number-text class="input" label="Power" unit="W" />
<number-text class="input" label="Drag Speed" unit="m/s" />
<number-text class="input" label="Travel time" unit="min" />
<number-text class="input" label="Power" :text="engine.power" unit="W" />
<number-text
class="input"
label="Drag Speed"
:text="engine.dragVelocity"
unit="m/s"
/>
<number-text
class="input"
label="Travel time"
:text="engine.electronTravelTime"
unit="min"
/>

<button-push class="stop-btn" width="25ch" @click="endSimulation">
Stop <i class="fa-solid fa-pause"></i>
Expand Down

0 comments on commit abc0ad4

Please sign in to comment.