роутинг и подсветы
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user