Skip to content

Commit

Permalink
replace zip text if set
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Nov 26, 2024
1 parent 526495e commit f6686f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/labeling/downloadTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@
if (collectionInfo[0].zip){
let zipButton = document.createElement("button")
zipButton.innerText = "Download Whole Collection";
if (collectionInfo[0].zipText){
zipButton.innerText = collectionInfo[0].zipText;
}
zipButton.classList.add(["btn"]);
zipButton.dataset.zipurl = collectionInfo[0].zip;
zipButton.onclick = downloadCollection;
Expand Down

0 comments on commit f6686f4

Please sign in to comment.