1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

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 58eda7d555
commit 66aa2c36bb
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,
},
});