Browse Source

Use default string when TX date not specified

Pavel Ševčík 4 years ago
parent
commit
270e421644
No known key found for this signature in database GPG Key ID: CFA54E4C0CD58DF0
  1. 2
      static/admin/dmt/txs-tools/txs-tools.js

2
static/admin/dmt/txs-tools/txs-tools.js

@ -59,7 +59,7 @@ const screenTxsToolsScript = {
$('#txid-value').text(this.currentTxid)
$('#txid-value').attr('href', txUrl)
const firstseen = lib_fmt.unixTsToLocaleString(txInfo['created'])
const firstseen = txInfo['created'] ? lib_fmt.unixTsToLocaleString(txInfo['created']) : '--'
$('#tx-firstseen').text(firstseen)
if (txInfo.hasOwnProperty('block'))

Loading…
Cancel
Save