Skip to content

Commit

Permalink
chore: refactoring after code review
Browse files Browse the repository at this point in the history
Refs: #285
  • Loading branch information
pbezliapovich committed Dec 4, 2024
1 parent 99e3786 commit b3f26db
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ const BulkPdfExporter = {
popup.querySelector(".polarion-JSWizardButton-Primary").style.display = "block";
popup.querySelector(".polarion-JSWizardButton").style.display = "none";
resultSpan.style.display = "none";
resultSpan.classList.remove("interrupted");
resultSpan.classList.remove("finished");
this.updateProgress(progressBar);
} else {
popup.querySelector(".polarion-JSWizardButton-Primary").style.display = "none";
Expand All @@ -178,7 +180,6 @@ const BulkPdfExporter = {
resultSpan.classList.add("interrupted");
resultSpan.innerText = "Export interrupted by user";
} else if (this.state === BULK_EXPORT_FINISHED) {
resultSpan.classList.remove("interrupted");
resultSpan.classList.add("finished");
if (this.errors) {
resultSpan.classList.add("with-errors");
Expand Down

0 comments on commit b3f26db

Please sign in to comment.