Fix display of error notifications (#6232)
This commit is contained in:
parent
ef679b1663
commit
544c7d389c
|
|
@ -97,12 +97,18 @@ export function NotificationDrawer({
|
|||
to={notification?.target?.link}
|
||||
target="_blank"
|
||||
>
|
||||
{notification.target?.name ?? 'target'}
|
||||
{notification.target?.name ??
|
||||
notification.name ??
|
||||
t`Notification`}
|
||||
</Text>
|
||||
) : (
|
||||
<Text size="sm">{notification.target?.name ?? 'target'}</Text>
|
||||
<Text size="sm">
|
||||
{notification.target?.name ??
|
||||
notification.name ??
|
||||
t`Notification`}
|
||||
</Text>
|
||||
)}
|
||||
<Text size="xs">{notification.age_human ?? 'name'}</Text>
|
||||
<Text size="xs">{notification.age_human ?? ''}</Text>
|
||||
</Stack>
|
||||
<Space />
|
||||
<ActionIcon
|
||||
|
|
|
|||
Loading…
Reference in New Issue