diff options
author | Frederick Muriuki Muriithi | 2025-04-21 17:11:14 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-04-21 17:11:14 -0500 |
commit | 5892a1825505803c51673fa6acec24f8fa49c5ee (patch) | |
tree | 9a9b88b8f4fa3a38bb5c79b45d10907ad23510a0 /uploader/templates/phenotypes/add-phenotypes-raw-files.html | |
parent | 57f2fc25c6ec53d19bdf5c00407c88cab1152b90 (diff) | |
download | gn-uploader-main.tar.gz |
Diffstat (limited to 'uploader/templates/phenotypes/add-phenotypes-raw-files.html')
-rw-r--r-- | uploader/templates/phenotypes/add-phenotypes-raw-files.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html index 75fe622..57ab776 100644 --- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html +++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html @@ -474,6 +474,17 @@ [makePreviewUpdater(preview_table)]); } }); + + if(typeof(resumables) !== "undefined") { + resumables.forEach((resumable) => { + if(resumable.files.length > 0) { + readFirstNLines( + resumable.files[0].file, + 10, + [makePreviewUpdater(resumable.preview_table)]); + } + }); + } }; [ |