fix superadmin page
This commit is contained in:
parent
3931a9c14a
commit
8d4333b237
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@
|
|||
</div>
|
||||
<.table id="audit-logs" rows={@recent_logs}>
|
||||
<:col :let={log} label="Action">{log.action}</:col>
|
||||
<:col :let={log} label="Superuser">{log.superuser && log.superuser.email}</:col>
|
||||
<:col :let={log} label="User">{log.superuser && log.superuser.email}</:col>
|
||||
<:col :let={log} label="Target">{log.target_user && log.target_user.email}</:col>
|
||||
<:col :let={log} label="Time">
|
||||
{ToweropsWeb.TimeHelpers.format_iso8601(log.inserted_at, @timezone)}
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@
|
|||
</p>
|
||||
</div>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-500 whitespace-nowrap ml-2">
|
||||
{ToweropsWeb.TimeHelpers.format_time_ago(job.completed_at || job.updated_at)}
|
||||
{ToweropsWeb.TimeHelpers.format_time_ago(job.completed_at || job.cancelled_at || job.discarded_at || job.inserted_at)}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue