Skip to content

Commit f6686f4

Browse files
authored
replace zip text if set
1 parent 526495e commit f6686f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/labeling/downloadTable.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@
367367
if (collectionInfo[0].zip){
368368
let zipButton = document.createElement("button")
369369
zipButton.innerText = "Download Whole Collection";
370+
if (collectionInfo[0].zipText){
371+
zipButton.innerText = collectionInfo[0].zipText;
372+
}
370373
zipButton.classList.add(["btn"]);
371374
zipButton.dataset.zipurl = collectionInfo[0].zip;
372375
zipButton.onclick = downloadCollection;

0 commit comments

Comments
 (0)