- Progress Check

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-06-14 23:50:10 -04:00
parent 2997dd4e4d
commit 9c41af82d7
4 changed files with 85 additions and 35 deletions

View File

@@ -1,9 +1,5 @@
import React, { useCallback, useEffect, useState } from "react";
import { useDispatch, useSelector } from "react-redux";
// import Container from "../dnd/Container";
// import Draggable from "../dnd/Draggable";
import { DragDropContext, Droppable } from "../dnd/lib";
import PropTypes from "prop-types";
@@ -238,8 +234,6 @@ const BoardContainer = ({
]
);
let cardIndex = 0;
return (
<components.BoardWrapper style={style} orientation={orientation} draggable={false}>
<PopoverWrapper>
@@ -269,7 +263,7 @@ const BoardContainer = ({
editable={editable && !lane.disallowAddingCard}
{...laneOtherProps}
{...passThroughProps}
cards={lane.cards.map((card) => ({ ...card, idx: cardIndex++ }))}
cards={lane.cards}
/>
);
})}