feat: show last refresh time for Device instead of last updated

This commit is contained in:
Benjamin Nussbaum 2025-06-03 14:35:09 +02:00
parent f0b7180edd
commit 0ec6c27a53
6 changed files with 106 additions and 2 deletions

View file

@ -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">