feat: add impersonation log viewer in filament dashboard

This commit is contained in:
idevakk
2025-11-17 12:22:26 -08:00
parent a7029b5f57
commit 52a59eb143
5 changed files with 471 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ final class ImpersonationLog extends Model
return $this->belongsTo(User::class, 'target_user_id');
}
public function getDurationInSecondsAttribute(): ?int
public function getDurationInSecondsAttribute(): ?float
{
if (! $this->end_time) {
return null;