1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

fixed Bug:After deleting a board, using the undo feature would redirect to an error page displaying "board-not-found."

This commit is contained in:
jiushi 2023-09-10 00:33:01 +08:00
parent d7cb5f8bd2
commit 7d99f7dc7a

View File

@ -224,8 +224,8 @@ class Mutator {
await afterRedo?.(board) await afterRedo?.(board)
}, },
async () => { async () => {
await beforeUndo?.(board)
await octoClient.undeleteBoard(board.id) await octoClient.undeleteBoard(board.id)
await beforeUndo?.(board)
}, },
description, description,
this.undoGroupId, this.undoGroupId,