We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3a228 commit 480037cCopy full SHA for 480037c
api/rates.html
@@ -1164,8 +1164,8 @@ <h2>${group.substr(0,1).toUpperCase()+group.substr(1)}</h2>
1164
1165
date.innerHTML = data.date;//`<span style="color:var(--bg3)">${yesterday.date} - </span>${data.date}`;
1166
1167
- window.usd = data.prices.find(i=>i.slug=="usd").price;
1168
- window.usdt = data.prices.find(i=>i.slug=="usd").price;
+ window.usd = data.prices.find(i=>i.slug=="usd")?.price||0;
+ window.usdt = data.prices.find(i=>i.slug=="usd")?.price||0;
1169
window.data = data;
1170
render_list();
1171
new Sortable(list, {
0 commit comments