mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 16:19:47 +02:00
parent
2c84316fe0
commit
934dcdf39b
22 changed files with 419 additions and 18 deletions
|
@ -37,6 +37,24 @@ const moveList = (id, index) => ({
|
|||
},
|
||||
});
|
||||
|
||||
const sortList = (id, data) => {
|
||||
return {
|
||||
type: EntryActionTypes.LIST_SORT,
|
||||
payload: {
|
||||
id,
|
||||
data,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
const handleListSort = (list, cards) => ({
|
||||
type: EntryActionTypes.LIST_SORT_HANDLE,
|
||||
payload: {
|
||||
list,
|
||||
cards,
|
||||
},
|
||||
});
|
||||
|
||||
const deleteList = (id) => ({
|
||||
type: EntryActionTypes.LIST_DELETE,
|
||||
payload: {
|
||||
|
@ -57,6 +75,8 @@ export default {
|
|||
updateList,
|
||||
handleListUpdate,
|
||||
moveList,
|
||||
sortList,
|
||||
handleListSort,
|
||||
deleteList,
|
||||
handleListDelete,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue