mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
[UI] Fix NewsWidget (#12205)
This commit is contained in:
1 parent
01fb74af25
commit
6657000d89
1 file changed
+4
@@ -130,9 +130,13 @@ export default function NewsWidget() {
|
|||||||
<NewsItem key={item.pk} item={item} onMarkRead={markRead} />
|
<NewsItem key={item.pk} item={item} onMarkRead={markRead} />
|
||||||
))
|
))
|
||||||
) : (
|
) : (
|
||||||
|
<Table.Tr>
|
||||||
|
<Table.Td colSpan={3}>
|
||||||
<Alert color='green' title={t`No News`}>
|
<Alert color='green' title={t`No News`}>
|
||||||
<Text>{t`There are no unread news items`}</Text>
|
<Text>{t`There are no unread news items`}</Text>
|
||||||
</Alert>
|
</Alert>
|
||||||
|
</Table.Td>
|
||||||
|
</Table.Tr>
|
||||||
)}
|
)}
|
||||||
</Table.Tbody>
|
</Table.Tbody>
|
||||||
</Table>
|
</Table>
|
||||||
|
|||||||
Reference in new issue
Block a user