feat: Open card once created with Ctrl+Enter (#373)

This commit is contained in:
RAR
2023-01-08 21:59:24 +01:00
committed by GitHub
parent 6021d67a00
commit ed89fe5351
6 changed files with 38 additions and 23 deletions

View File

@@ -1,10 +1,11 @@
import EntryActionTypes from '../constants/EntryActionTypes';
const createCard = (listId, data) => ({
const createCard = (listId, data, autoOpen) => ({
type: EntryActionTypes.CARD_CREATE,
payload: {
listId,
data,
autoOpen,
},
});