Skip to content

Commit

Permalink
feat(ui): show mapping rules in desc order
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren committed Mar 6, 2024
1 parent 4857927 commit 6c83398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep-ui/app/mapping/rules-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function RulesTable({ mappings }: { mappings: MappingRule[] }) {

const table = useReactTable({
columns,
data: mappings,
data: mappings.sort((a, b) => b.priority - a.priority),
getCoreRowModel: getCoreRowModel(),
});

Expand Down

0 comments on commit 6c83398

Please sign in to comment.