Skip to content

Commit

Permalink
Removed other console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts-ctrlo authored Jan 23, 2025
1 parent c78b8d4 commit 6638188
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/frontend/components/form-group/autosave/lib/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class AutosaveModal extends AutosaveBase {
$field.on("validationPassed", () => {
// Decrement the curval count
curvalCount--;
console.log("curvalCount", curvalCount);
const $li = $(`<li class="li-success">Restored ${name}</li>`);
$list.append($li);
// If we've done all fields, turn off the recovery flag
Expand Down Expand Up @@ -104,7 +103,6 @@ class AutosaveModal extends AutosaveBase {
$body.append(`<div class="alert alert-danger"><h4>Critical error restoring values</h4><p>${e}</p></div>`);
}).finally(() => {
// Only allow to close once recovery is finished
console.log("curvalCount", curvalCount);
if(!curvalCount || errored) {
// Show the close button
$modal.find(".modal-footer").find(".btn-cancel").text("Close").show();
Expand Down

0 comments on commit 6638188

Please sign in to comment.