Skip to content

Commit

Permalink
fix: make sorting in FleetTable work
Browse files Browse the repository at this point in the history
  • Loading branch information
simonknittel committed Dec 19, 2024
1 parent cd130ce commit f12e676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/app/app/fleet/_components/FleetTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const columnHelper = createColumnHelper<Row>();

const FleetTable = ({ ships }: Readonly<Props>) => {
const [sorting, setSorting] = useState<SortingState>([
{ id: "variant_series.manufacturer.name", desc: false },
{ id: "variant_series.name", desc: false },
{ id: "variant_name", desc: false },
{ id: "variant.series.manufacturer.name", desc: false },
{ id: "variant.series.name", desc: false },
{ id: "variant.name", desc: false },
]);

const columns = useMemo(() => {
Expand Down

0 comments on commit f12e676

Please sign in to comment.