Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdHeat committed Jan 25, 2024
1 parent a188717 commit f623b01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/scoreboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Alpine.data("ScoreboardDetail", () => ({
Alpine.data("ScoreboardList", () => ({
standings: null,
brackets: [],
activeBracket : null,
activeBracket: null,

async init() {
let response = await CTFd.fetch(`/api/v1/brackets?type=${CTFd.config.userMode}`, {
Expand All @@ -29,7 +29,7 @@ Alpine.data("ScoreboardList", () => ({
const body = await response.json();
this.brackets = body["data"];
this.full_standings = this.standings = await CTFd.pages.scoreboard.getScoreboard();
}
}))
},
}));

Alpine.start();

0 comments on commit f623b01

Please sign in to comment.