fix(routing-rules): Tabelle zeigt Regeln in Priority-Reihenfolge

DataTable nutzte `rules` (API-Reihenfolge), sortedRules nur für
die Up/Down-Index-Berechnung — Move-Pfeile und Tabellenreihenfolge
waren dadurch inkonsistent. Fix: DataTable bekommt sortedRules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-28 15:32:47 +02:00
parent e2b8560c65
commit 0a31a253b3
5 changed files with 5 additions and 5 deletions

View File

@@ -240,7 +240,7 @@ export default function RoutingRulesPage() {
<DataTable
rowKey="id"
loading={isLoading}
dataSource={rules ?? []}
dataSource={sortedRules}
columns={columns}
extraActions={
<Tooltip title={isViewer ? t('auth.viewerBadge') : undefined}>