Skip to content

Commit

Permalink
🤖 Automatically update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Annelein authored and actions-user committed Apr 17, 2024
1 parent dea21dd commit 916e769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -99362,14 +99362,6 @@ def note_with_error(value, err):
const response = await postJsonWithAchievements("/programs/delete", { id: id2 });
showAchievements(response.achievement, true, "");
$("#program_" + id2).remove();
let text = $("#program_count").text();
let match = text.match(/\d+/);
if (match) {
let currentNumber = parseInt(match[0]);
let newNumber = currentNumber - 1;
let newText = text.replace(/\d+/, newNumber.toString());
$("#program_count").text(newText);
}
modal.notifySuccess(response.message);
});
}
Expand Down
Loading

0 comments on commit 916e769

Please sign in to comment.