mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
Null check.
This commit is contained in:
parent
a933f5b4a0
commit
538fb49219
@ -11,7 +11,7 @@ export function OSTable(props: MetricsTableProps) {
|
||||
<FilterLink id="os" value={os} label={formatOS(os)}>
|
||||
<img
|
||||
src={`${process.env.basePath || ''}/images/os/${
|
||||
os?.toLowerCase().replaceAll(/\W/g, '-') || 'unknown'
|
||||
os?.toLowerCase()?.replaceAll(/\W/g, '-') || 'unknown'
|
||||
}.png`}
|
||||
alt={os}
|
||||
width={16}
|
||||
|
Loading…
Reference in New Issue
Block a user