Compare commits
No commits in common. "5a886c3481cd5fe229eba00f2e93cfdb068dd9dc" and "d517a0e7fed039dfbb4fb032b57ac3bd42444be6" have entirely different histories.
5a886c3481
...
d517a0e7fe
@ -107,15 +107,8 @@
|
|||||||
<template x-if="$store.state.data.otherUsers.length > 0">
|
<template x-if="$store.state.data.otherUsers.length > 0">
|
||||||
<template x-for="otherUser in $store.state.data.otherUsers">
|
<template x-for="otherUser in $store.state.data.otherUsers">
|
||||||
<tr>
|
<tr>
|
||||||
<template x-if="$store.state.data.otherUser.isHidden">
|
<td x-text="otherUser.name"></td>
|
||||||
<td>
|
<td x-text="otherUser.totalKilometers"></td>
|
||||||
<i x-text="otherUser.name"></i>
|
|
||||||
</td>
|
|
||||||
</template>
|
|
||||||
<template x-if="!$store.state.data.otherUser.isHidden">
|
|
||||||
<td x-text="otherUser.name"></td>
|
|
||||||
</template>
|
|
||||||
<td x-text="otherUser.totalKilometers.toFixed(1)"></td>
|
|
||||||
<td x-text="otherUser.earliestActivity"></td>
|
<td x-text="otherUser.earliestActivity"></td>
|
||||||
<td x-text="otherUser.latestActivity"></td>
|
<td x-text="otherUser.latestActivity"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -191,9 +184,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td x-text="activity.date"></td>
|
<td x-text="activity.date"></td>
|
||||||
<td x-text="activity.description"></td>
|
<td x-text="activity.description"></td>
|
||||||
<td x-text="`${activity.numberOfUnits} ${activity.activityType.unit}`"></td>
|
<td x-text="`${activity.numberOfUnits.toFixed(1)} ${activity.activityType.unit}`"></td>
|
||||||
<template x-if="$store.state.data.unitConversionNecessary">
|
<template x-if="$store.state.data.unitConversionNecessary">
|
||||||
<td x-text="`${(activity.numberOfUnits * activity.activityType.conversionFactor)} km`"></td>
|
<td x-text="`${(activity.numberOfUnits * activity.activityType.conversionFactor).toFixed(1)} km`"></td>
|
||||||
</template>
|
</template>
|
||||||
<td><button x-on:click="$store.state.deleteActivity(activity)">Fjern</button></td>
|
<td><button x-on:click="$store.state.deleteActivity(activity)">Fjern</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user