[UI] Fix NewsWidget

This commit is contained in:
Oliver Walters 2026-06-19 05:32:56 +00:00
parent 6285a11a65
commit 92890e6208
1 changed files with 7 additions and 3 deletions

View File

@ -130,9 +130,13 @@ export default function NewsWidget() {
<NewsItem key={item.pk} item={item} onMarkRead={markRead} />
))
) : (
<Alert color='green' title={t`No News`}>
<Text>{t`There are no unread news items`}</Text>
</Alert>
<Table.Tr>
<Table.Td colSpan={3}>
<Alert color='green' title={t`No News`}>
<Text>{t`There are no unread news items`}</Text>
</Alert>
</Table.Td>
</Table.Tr>
)}
</Table.Tbody>
</Table>