@@ -153,7 +153,7 @@ export function BoardCanvas({ vis, byDate, snap, today, store, sprintSel, emptyT
targetClass={dragTarget && dragTarget.to === i ? (i < dragTarget.from ? "target" : i > dragTarget.from ? "target-after" : "") : ""}
onDragTarget={(to) => setDragTarget(to === null ? null : { from: i, to })} />
))}
- {Object.entries(placed.pos).map(([k, box]) => (
+ {Object.entries(placed.pos).filter(([k]) => byKey[k]).map(([k, box]) => (
))}
diff --git a/web/src/board/components/DatesBar.tsx b/web/src/board/components/DatesBar.tsx
index 5cccbc4..dda5021 100644
--- a/web/src/board/components/DatesBar.tsx
+++ b/web/src/board/components/DatesBar.tsx
@@ -3,8 +3,8 @@ import { COLW, GRID } from "../constants.ts";
import { dateText, dateTitle, type DateCol } from "../layout/layout.ts";
// липкая полоса подписей дат над доской: сдвиг — как у горизонтальной прокрутки доски; ручка границы меняет ширину колонки
-export function DatesBar({ cols, width, scrollLeft, inRef, onColWidth }: {
- cols: DateCol[]; width: number; scrollLeft: number; inRef: RefObject
;
+export function DatesBar({ cols, width, scrollLeft, wrapW, inRef, onColWidth }: {
+ cols: DateCol[]; width: number; scrollLeft: number; wrapW: number; inRef: RefObject;
onColWidth(date: string, w: number | null): void;
}) {
const raf = useRef(0);
@@ -28,7 +28,7 @@ export function DatesBar({ cols, width, scrollLeft, inRef, onColWidth }: {
const cls = (c: DateCol) => (c.cls ? " " + c.cls : "");
return (