forked from bitcoinafterlife/bal-welist-website
display status using description only (readme doesn't mention period)
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
'KO': 'Generic error'
|
||||
};
|
||||
const st = (data.status||'').split(':')[0];
|
||||
document.getElementById('westatus').innerHTML = DOMPurify.sanitize(data.status||'—') + (statusMap[st] ? ' (' + statusMap[st] + ')' : '');
|
||||
document.getElementById('westatus').innerHTML = statusMap[st] || '—';
|
||||
|
||||
const tableBody = document.querySelector('#wetimes tbody');
|
||||
tableBody.innerHTML ='';
|
||||
|
||||
Reference in New Issue
Block a user