Skip to content

Commit

Permalink
Fix ordering issue in notifications table (#8626)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Dec 4, 2024
1 parent 1a8b030 commit 744dc89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/pages/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export function NotificationTable({
{
accessor: 'age_human',
title: t`Age`,
sortable: true
sortable: true,
ordering: 'creation'
},
{
accessor: 'category',
Expand Down

0 comments on commit 744dc89

Please sign in to comment.