Skip to content

Commit

Permalink
#87: include system name in export file name
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Nov 13, 2024
1 parent 4504b88 commit 7ea500b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,12 @@
function formatDateForFilename(usePrefix, d) {
let rt = "";
if (usePrefix) {
let hdl= document.getElementById('headline');
if (hdl){
rt=hdl.textContent+"_";
}
let fwt = document.querySelector('.status-fwtype');
if (fwt) rt = fwt.textContent;
if (fwt) rt += fwt.textContent;
rt += "_";
}
if (!d) d = new Date();
Expand Down

0 comments on commit 7ea500b

Please sign in to comment.