Skip to content

Commit

Permalink
Merge branch 'BC-6871-board-refactor' of https://github.com/hpi-schul…
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac committed Jun 13, 2024
2 parents cc87929 + 79cf2db commit 63382b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ data:
FEATURE_PROMETHEUS_METRICS_ENABLED: "true"
CALENDAR_URI: "{{ CALENDAR_URI }}"
ROCKET_CHAT_URI: "{{ ROCKET_CHAT_URI }}"
ETHERPAD__PAD_URI: "https://{{ DOMAIN }}/etherpad/p"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ data:
EXIT_ON_ERROR: "true"
SC_DOMAIN: "{{ DOMAIN }}"
FEATURE_PROMETHEUS_METRICS_ENABLED: "true"
ETHERPAD__PAD_URI: "https://{{ DOMAIN }}/etherpad/p"

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 63382b7

Please sign in to comment.