mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Fix ordering issue in notifications table (#8626)
This commit is contained in:
parent
1a8b030819
commit
744dc895e9
@ -18,7 +18,7 @@ import { PanelGroup } from '../components/panels/PanelGroup';
|
|||||||
import { ApiEndpoints } from '../enums/ApiEndpoints';
|
import { ApiEndpoints } from '../enums/ApiEndpoints';
|
||||||
import { useTable } from '../hooks/UseTable';
|
import { useTable } from '../hooks/UseTable';
|
||||||
import { apiUrl } from '../states/ApiState';
|
import { apiUrl } from '../states/ApiState';
|
||||||
import { NotificationTable } from '../tables/notifications/NotificationsTable';
|
import { NotificationTable } from '../tables/notifications/NotificationTable';
|
||||||
|
|
||||||
export default function NotificationsPage() {
|
export default function NotificationsPage() {
|
||||||
const unreadTable = useTable('unreadnotifications');
|
const unreadTable = useTable('unreadnotifications');
|
||||||
|
@ -24,7 +24,8 @@ export function NotificationTable({
|
|||||||
{
|
{
|
||||||
accessor: 'age_human',
|
accessor: 'age_human',
|
||||||
title: t`Age`,
|
title: t`Age`,
|
||||||
sortable: true
|
sortable: true,
|
||||||
|
ordering: 'creation'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessor: 'category',
|
accessor: 'category',
|
Loading…
x
Reference in New Issue
Block a user