Skip to content

Commit

Permalink
Close #119722
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Kearl committed Jun 3, 2021
1 parent be1cf4b commit 73de22a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ export class GettingStartedPage extends EditorPane {
if (!ourStep) {
throw Error('Could not find step with ID: ' + step.id);
}

if (!ourStep.done && category.content.stepsComplete === category.content.stepsTotal - 1) {
this.hideCategory(category.id);
}

ourStep.done = step.done;
if (category.id === this.currentCategory?.id) {
const badgeelements = assertIsDefined(document.querySelectorAll(`[data-done-step-id="${step.id}"]`));
Expand Down

0 comments on commit 73de22a

Please sign in to comment.