From eb1b2aef550fd988f0fffbec70ca985375e9affa Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Mon, 15 Jul 2024 12:47:15 -0400 Subject: [PATCH] - Don't do anything if the destination and source are the same Signed-off-by: Dave Richer --- .../trello-board/controllers/BoardContainer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/production-board-kanban/trello-board/controllers/BoardContainer.jsx b/client/src/components/production-board-kanban/trello-board/controllers/BoardContainer.jsx index 3d88755f3..81ce19e2d 100644 --- a/client/src/components/production-board-kanban/trello-board/controllers/BoardContainer.jsx +++ b/client/src/components/production-board-kanban/trello-board/controllers/BoardContainer.jsx @@ -101,7 +101,7 @@ const BoardContainer = ({ async ({ draggableId, type, source, reason, mode, destination, combine }) => { setIsDragging(false); - if (!type || type !== "lane" || !source || !destination) return; + if (!type || type !== "lane" || !source || !destination || isEqual(source, destination)) return; setIsProcessing(true);