Skip to content

Commit f4c309d

Browse files
authored
feat: issues list ordered by "first seen" on frontend (#1993)
* The issues listing table starts with default descending order on "first seen" column Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
1 parent b9f9d1e commit f4c309d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dashboard/src/components/IssueTable/IssueTable.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ export const IssueTable = ({
198198
const { listingSize } = useSearch({ from: '/_main/issues' });
199199
const navigate = useNavigate({ from: '/issues' });
200200

201-
const [sorting, setSorting] = useState<SortingState>([]);
201+
const [sorting, setSorting] = useState<SortingState>([
202+
{ id: 'first_seen', desc: true },
203+
]);
202204
const [columnVisibility, setColumnVisibility] = useState<VisibilityState>({
203205
culprit: false,
204206
});

0 commit comments

Comments
 (0)