mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 07:27:47 +00:00
feat: show last refresh time for Device instead of last updated
This commit is contained in:
parent
f0b7180edd
commit
0ec6c27a53
6 changed files with 106 additions and 2 deletions
|
|
@ -268,8 +268,8 @@ new class extends Component {
|
|||
<h1 class="text-xl font-medium dark:text-zinc-200">{{ $device->name }}</h1>
|
||||
</flux:tooltip>
|
||||
<div class="flex gap-2">
|
||||
<flux:tooltip content="Last update" position="bottom">
|
||||
<span class="dark:text-zinc-200">{{$device->updated_at->diffForHumans()}}</span>
|
||||
<flux:tooltip content="Last refresh" position="bottom">
|
||||
<span class="dark:text-zinc-200">{{$device->last_refreshed_at?->diffForHumans()}}</span>
|
||||
</flux:tooltip>
|
||||
<flux:separator vertical/>
|
||||
<flux:tooltip content="MAC Address" position="bottom">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue