From 981c12568a2aa06b0089935116a7fbf43f1456c1 Mon Sep 17 00:00:00 2001 From: Jens Frost <93131870+jensfrost@users.noreply.github.com> Date: Fri, 19 May 2023 09:45:22 +0200 Subject: [PATCH] Fixed copying card from within opened card --- client/src/entry-actions/cards.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/entry-actions/cards.js b/client/src/entry-actions/cards.js index bbb7521..0596b63 100755 --- a/client/src/entry-actions/cards.js +++ b/client/src/entry-actions/cards.js @@ -47,12 +47,12 @@ const moveCard = (id, listId, index = 0) => ({ }, }); -const copyCard = (id, listId, index = 0) => ({ +const copyCard = (listId, data, autoOpen) => ({ type: EntryActionTypes.CARD_COPY, payload: { - id, listId, - index, + data, + autoOpen, }, });