Small fixes

This commit is contained in:
2021-07-06 20:08:51 +02:00
parent 3fd84f2b74
commit a208c8bc61
5 changed files with 18 additions and 9 deletions

View File

@@ -181,11 +181,11 @@ onDestroy(() => {
<td>{peer.position}</td>
<td>{peer.reachable}</td>
<td>{peer.unreachable_count}</td>
<td>{peer.load_1_min}</td>
<td>{peer.load_5_min}</td>
<td>{peer.load_15_min}</td>
<td>{peer.load_1_min.toFixed(1)}</td>
<td>{peer.load_5_min.toFixed(1)}</td>
<td>{peer.load_15_min.toFixed(1)}</td>
<td>{formatDuration(peer.latency, 3)}</td>
<td>{formatDataVolume(peer.free_space, 3)}</td>
<td>{formatDataVolume(peer.free_space, 4)}</td>
<td>{formatDataVolume(peer.min_free_space, 3)}</td>
</tr>
{/each}
@@ -252,7 +252,7 @@ onDestroy(() => {
<td>{q.query_name}</td>
<td>{q.calls}</td>
<td>{formatDuration(q.average_duration, 3)}</td>
<td>{formatDuration(q.total_duration, 3)}</td>
<td>{formatDuration(q.total_duration, 0)}</td>
<td>
{#each q.callers as caller}
{caller.count}x {caller.name}<br/>