From c13371c64887e67a76b08b503cd749ce7677f033 Mon Sep 17 00:00:00 2001 From: Hossein Date: Tue, 9 Nov 2021 17:11:22 -0500 Subject: [PATCH] Fix GH-1690: Default card template on a board template adds a card to the template, not the board (#1748) --- .../__snapshots__/workspace.test.tsx.snap | 8 ++++++++ webapp/src/components/cardDialog.tsx | 1 + webapp/src/components/centerPanel.tsx | 6 ++++-- .../components/gallery/galleryCard.test.tsx | 2 +- webapp/src/components/gallery/galleryCard.tsx | 2 +- webapp/src/components/kanban/kanbanCard.tsx | 1 + webapp/src/mutator.test.ts | 19 +++++++++++++++++++ webapp/src/mutator.ts | 3 +++ 8 files changed, 38 insertions(+), 4 deletions(-) diff --git a/webapp/src/components/__snapshots__/workspace.test.tsx.snap b/webapp/src/components/__snapshots__/workspace.test.tsx.snap index a684d02de..681bd9c30 100644 --- a/webapp/src/components/__snapshots__/workspace.test.tsx.snap +++ b/webapp/src/components/__snapshots__/workspace.test.tsx.snap @@ -598,6 +598,7 @@ exports[`src/components/workspace return workspace and showcard 1`] = ` class="KanbanCalculation" >