Skip to content

Commit 89323e8

Browse files
authored
chore: round ping value to two decimal places in latest result stats (#2520)
1 parent 618d482 commit 89323e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/latest-result-stats.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
@endfilled
131131

132132
<p class="flex items-baseline gap-x-2">
133-
<span class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ $this->latestResult?->ping }}</span>
133+
<span class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ round($this->latestResult?->ping, 2) }}</span>
134134
<span class="text-sm text-zinc-600 dark:text-zinc-400">ms</span>
135135
</p>
136136
</x-filament::section>

0 commit comments

Comments
 (0)