fix(ui): обозначить расчёт и симуляцию оптимизатора

This commit is contained in:
Denozordec committed 2026-09-30 22:29:46 +07:00
1 parent e58604c3c0
commit 59f0f82176
7 files changed
+104 -62

No files matched your search

@@ -41,7 +41,7 @@ function ProbChip({ prob, best }: { prob: number; best?: boolean }) {
: "bg-muted text-muted-foreground border-border"
}
>
{prob}%
{prob} б.
</Chip>
)
}
@@ -211,7 +211,7 @@ function RouteOptimizerFullRoutesDataGrid({
id: "prob",
accessorKey: "probabilityOptimal",
header: ({ column }) => (
<DataGridSortHeader column={column} title="P(opt)" className="mx-auto" />
<DataGridSortHeader column={column} title="Индекс" className="mx-auto" />
),
cell: ({ row }) => {
const isBest = row.original.id === bestId || row.original._index === 0
@@ -222,7 +222,7 @@ function RouteOptimizerFullRoutesDataGrid({
)
},
meta: {
headerTitle: "P(opt)",
headerTitle: "Индекс",
headerClassName: cn(DATA_GRID_CELL_PAD, "text-center"),
cellClassName: cn(DATA_GRID_CELL_PAD, "text-center"),
},