mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 01:11:58 +03:00
Preserve members and labels when transfer card to another board
This commit is contained in:
@@ -20,6 +20,8 @@ export default class extends Model {
|
||||
static reducer({ type, payload }, Attachment) {
|
||||
switch (type) {
|
||||
case ActionTypes.BOARD_FETCH_SUCCEEDED:
|
||||
case ActionTypes.CARD_CREATE_SUCCEEDED:
|
||||
case ActionTypes.CARD_CREATE_RECEIVED:
|
||||
payload.attachments.forEach((attachment) => {
|
||||
Attachment.upsert(attachment);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user