Skip to content

Commit

Permalink
fix: penalty time display
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseconey committed Feb 21, 2022
1 parent 0f619a8 commit 4ade4b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

### TODO

In no particular order

- Fix fastest lap info (event not firing?)
- Integrate Vue router
- Allow clicking on a driver to get lap data (already in store)
- Add options for port and whatnot
- Add option for automatically downloading file at session end (compat with portal)
- Add weather data to session overview
- Add damage to session overview
- Hide data for DNFs
6 changes: 3 additions & 3 deletions packages/renderer/src/components/DriverTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export default {
return [];
}
console.log(this.drivers);
// Remove dead cars
const filtered = this.drivers.filter((car) => car.m_carPosition > 0);
Expand Down Expand Up @@ -100,9 +102,7 @@ export default {
>
{{ formatNonZero(driver.m_sector2TimeInMS) }}
</td>
<td>
{{ driver.m_penaltiesTime || 0 }}s ({{ driver.m_warnings || 0 }})
</td>
<td>{{ driver.m_penalties || 0 }}s ({{ driver.m_warnings || 0 }})</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 4ade4b8

Please sign in to comment.