1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Fix board deletion, update dependencies. Closes #146

This commit is contained in:
Maksim Eltyshev 2021-08-02 17:23:56 +05:00
parent fe91b5241e
commit 2130c04548
9 changed files with 815 additions and 601 deletions

View file

@ -10,6 +10,10 @@ module.exports = {
},
async fn(inputs) {
await BoardMembership.destroy({
boardId: inputs.record.id,
}).fetch();
const board = await Board.archiveOne(inputs.record.id);
if (board) {