Skip to content

Commit

Permalink
add missing else
Browse files Browse the repository at this point in the history
  • Loading branch information
uidp committed Jun 13, 2024
1 parent 5e6273c commit 1a959c5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export class BoardNodeDeleteHooksService {
await this.afterDeleteCollaborativeTextEditorElement(boardNode);
} else if (isMediaExternalToolElement(boardNode)) {
await this.afterDeleteMediaExternalToolElement(boardNode);
} else {
// noop
}
await Promise.allSettled(boardNode.children.map(async (child) => this.afterDelete(child)));
}
Expand Down

0 comments on commit 1a959c5

Please sign in to comment.