Fix adding several cards (#1722)

Signed-off-by: Dvinyanin Alexandr <dvinyanin.alexandr@gmail.com>
This commit is contained in:
Alex 2022-05-12 14:59:14 +07:00 committed by GitHub
parent d0cba231b8
commit cd9343cc63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@
}
async function addCards (title: string, checkNewLine: boolean = false) {
onClose()
if (!checkNewLine) {
return addCard(title.replace('\n', ' '))
}