Selaa lähdekoodia

05/25/2021 08:21:08 PM MST

master
coldstar 3 vuotta sitten
vanhempi
commit
80975caf04
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. +2
    -2
      routes/baseActionsRouter.js
  2. +2
    -2
      views/address.pug

+ 2
- 2
routes/baseActionsRouter.js Näytä tiedosto

@@ -334,8 +334,8 @@ router.get("/address/:address", function(req, res) {
console.log(obj.received);


res.locals.balance = obj.balance;
res.locals.received = obj.received;
res.locals.balance = parseInt(obj.balance) / 100000000;
res.locals.received = parseInt(obj.received) / 100000000;

console.log(stderr);



+ 2
- 2
views/address.pug Näytä tiedosto

@@ -12,7 +12,7 @@ block content
table(class="table")
tr
th(class="table-active properties-header") Balance
td(class="monospace") #{balance}/100000000).toLocaleString()
td(class="monospace") #{balance}.toLocaleString()
tr
th(class="table-active properties-header") Recieved
td(class="monospace") #{received}/100000000).toLocaleString()
td(class="monospace") #{received}.toLocaleString()

Loading…
Peruuta
Tallenna