Small change

This commit is contained in:
Joshen Lim committed 2023-09-08 14:13:39 +08:00
1 parent 43e55fbbe8
commit afa6ebbc24
2 files changed
+4 -4

No files matched your search

@@ -242,14 +242,14 @@ const AuditLogs = () => {
<Table.td>
<p
className="text-scale-1100 max-w-[230px] truncate"
title={project?.name ?? organization?.name ?? 'Unknown'}
title={project?.name ?? organization?.name ?? '-'}
>
{project?.name
? 'Project: '
: organization?.name
? 'Organization: '
: null}
{project?.name ?? organization?.name ?? 'Unknown'}
{project?.name ?? organization?.name ?? '-'}
</p>
<p
className="text-scale-1000 text-xs mt-0.5 truncate"
@@ -275,7 +275,7 @@ const AuditLogs = () => {
<div className="flex items-center space-x-4">
<div>{userIcon}</div>
<div>
<p className="text-scale-1100">{user?.username ?? 'Unknown'}</p>
<p className="text-scale-1100">{user?.username ?? '-'}</p>
{role && (
<p className="mt-0.5 text-xs text-scale-1000">{role?.name}</p>
)}
@@ -297,7 +297,7 @@ const AuditLogs = () => {
<Table.td>
<p
className="text-scale-1100 max-w-[230px] truncate"
title={project?.name ?? organization?.name ?? 'Unknown'}
title={project?.name ?? organization?.name ?? '-'}
>
{project?.name
? 'Project: '