diff --git a/plugins/board-resources/src/components/add-card/AddCard.svelte b/plugins/board-resources/src/components/add-card/AddCard.svelte index 17c96ea847..18f1b351ee 100644 --- a/plugins/board-resources/src/components/add-card/AddCard.svelte +++ b/plugins/board-resources/src/components/add-card/AddCard.svelte @@ -60,6 +60,7 @@ } async function addCards (title: string, checkNewLine: boolean = false) { + onClose() if (!checkNewLine) { return addCard(title.replace('\n', ' ')) }