mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 01:11:50 +03:00
feat: Add ability to move lists between boards (#1208)
This commit is contained in:
@@ -42,6 +42,15 @@ const moveList = (id, index) => ({
|
||||
},
|
||||
});
|
||||
|
||||
const transferList = (id, boardId, index = 0) => ({
|
||||
type: EntryActionTypes.LIST_TRANSFER,
|
||||
payload: {
|
||||
id,
|
||||
boardId,
|
||||
index,
|
||||
},
|
||||
});
|
||||
|
||||
const sortList = (id, data) => {
|
||||
return {
|
||||
type: EntryActionTypes.LIST_SORT,
|
||||
@@ -92,6 +101,7 @@ export default {
|
||||
updateList,
|
||||
handleListUpdate,
|
||||
moveList,
|
||||
transferList,
|
||||
sortList,
|
||||
moveListCardsToArchiveList,
|
||||
clearTrashListInCurrentBoard,
|
||||
|
||||
Reference in New Issue
Block a user