роутинг и подсветы

This commit is contained in:
gorbenko.pavel
2026-08-07 12:24:51 +05:00
parent 7ef4f53a6a
commit 3f7e42e874
6 changed files with 325 additions and 59 deletions
@@ -152,7 +152,7 @@ export const ManageRequestsPhaseTable: React.FC<IManageRequestsPhaseTableProps>
const isGhost = r.id < 0;
return (
<tr key={r.id} className={block.end > block.start ? styles.parallelRow : undefined}>
<tr key={r.id}>
{isBlockStart && (
<td className={styles.stepCol} rowSpan={block.end - block.start + 1}>
{r.parallelWithPrev || block.end > block.start ? (
@@ -202,7 +202,7 @@ export const ManageRequestsPhaseTable: React.FC<IManageRequestsPhaseTableProps>
<ActionsCell>
<IconButton
icon="people"
className={styles.iconBtnVisible}
className={r.parallelWithPrev ? styles.iconBtnActive : styles.iconBtnVisible}
label={r.parallelWithPrev ? texts.manageRequests.splitFromPrev : texts.manageRequests.mergeWithPrev}
disabled={busy || !canToggle}
onClick={() => toggleParallel(i)}