Progress Commit

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-05-13 16:23:18 -04:00
parent a33a92207b
commit a0b9f99dd3
3 changed files with 4 additions and 9 deletions

View File

@@ -161,9 +161,9 @@ class Lane extends Component {
} = this.props;
const { addCardMode, collapsed } = this.state;
const showableCards = collapsed ? [] : cards;
const stableCards = collapsed ? [] : cards;
const cardList = this.sortCards(showableCards, laneSortFunction).map((card, idx) => {
const cardList = this.sortCards(stableCards, laneSortFunction).map((card, idx) => {
const onDeleteCard = () => this.removeCard(card.id);
const cardToRender = (
<components.Card
@@ -191,7 +191,7 @@ class Lane extends Component {
return (
<components.ScrollableLane ref={this.laneDidMount} isDraggingOver={isDraggingOver}>
<Container
orientation="vertical"
orientation="vertical" // TODO This is where we would switch the card orientation.
groupName={this.groupName}
dragClass={cardDragClass}
dropClass={cardDropClass}