From 7d99f7dc7a5429f245b280c24734de2e67fb1a1b Mon Sep 17 00:00:00 2001 From: jiushi Date: Sun, 10 Sep 2023 00:33:01 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20Bug=EF=BC=9AAfter=20deleting=20a=20boar?= =?UTF-8?q?d,=20using=20the=20undo=20feature=20would=20redirect=20to=20an?= =?UTF-8?q?=20error=20page=20displaying=20"board-not-found."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/src/mutator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/mutator.ts b/webapp/src/mutator.ts index 3dea2ae4103..c616b69ccee 100644 --- a/webapp/src/mutator.ts +++ b/webapp/src/mutator.ts @@ -224,8 +224,8 @@ class Mutator { await afterRedo?.(board) }, async () => { - await beforeUndo?.(board) await octoClient.undeleteBoard(board.id) + await beforeUndo?.(board) }, description, this.undoGroupId,