fix..
This commit is contained in:
@@ -162,9 +162,9 @@ window.renderTownDetails = function() {
|
||||
`;
|
||||
|
||||
const mCap = resObj.market_capacity || 0;
|
||||
document.getElementById('td-market').innerHTML = `
|
||||
📦 Εμπορική Χωρητικότητα: <strong>${window.fmt(mCap)}</strong>
|
||||
`;
|
||||
document.getElementById('td-market').innerHTML = mCap > 0
|
||||
? `📦 Εμπορική Χωρητικότητα: <strong>${window.fmt(mCap)}</strong>`
|
||||
: '';
|
||||
|
||||
const godName = t.god ? t.god.charAt(0).toUpperCase() + t.god.slice(1) : 'Κανένας';
|
||||
const seaStr = t.sea != null ? `Θ${t.sea}` : '—';
|
||||
|
||||
Reference in New Issue
Block a user