mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
fix: add no user agent text
This commit is contained in:
1 parent
233f023698
commit
48f3f9fb12
1 file changed
+6
-2
@@ -25,7 +25,11 @@ export const renderUserAgents = (
|
||||
return (
|
||||
<Table.tr key={index}>
|
||||
<Table.td className="max-w-sm lg:max-w-lg" style={{ padding: '0.3rem' }}>
|
||||
{row.user_agent}
|
||||
{row.user_agent ? (
|
||||
row.user_agent
|
||||
) : (
|
||||
<span className="text-scale-1000">No user agent</span>
|
||||
)}
|
||||
</Table.td>
|
||||
<Table.td>{row.request_source}</Table.td>
|
||||
<Table.td style={{ padding: '0.5rem' }} className="align-top text-xs">
|
||||
@@ -87,4 +91,4 @@ export const renderBotScores = (
|
||||
}
|
||||
/>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user