2
0
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:
Oliver 2024-12-04 17:56:56 +11:00 committed by GitHub
parent 1a8b030819
commit 744dc895e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import { PanelGroup } from '../components/panels/PanelGroup';
import { ApiEndpoints } from '../enums/ApiEndpoints';
import { useTable } from '../hooks/UseTable';
import { apiUrl } from '../states/ApiState';
import { NotificationTable } from '../tables/notifications/NotificationsTable';
import { NotificationTable } from '../tables/notifications/NotificationTable';
export default function NotificationsPage() {
const unreadTable = useTable('unreadnotifications');

View File

@ -24,7 +24,8 @@ export function NotificationTable({
{
accessor: 'age_human',
title: t`Age`,
sortable: true
sortable: true,
ordering: 'creation'
},
{
accessor: 'category',