fix exchange rate unavailable status

This commit is contained in:
2026-09-06 16:43:21 +03:00
parent 78d9f51d13
commit 4139e85e8a
+3 -1
View File
@@ -350,7 +350,9 @@ export const TenderDetailModal = () => {
<span className="font-bold text-xs uppercase tracking-wider flex items-center gap-1.5">
<Calculator className="w-4 h-4 text-blue-400" /> Kur Farkı Hesaplayıcı
</span>
<span className="text-[10px] bg-blue-500/30 text-blue-300 px-2 py-0.5 rounded font-bold">TCMB döviz satış</span>
<span className={`text-[10px] px-2 py-0.5 rounded font-bold ${fx ? 'bg-blue-500/30 text-blue-300' : 'bg-slate-500/30 text-slate-300'}`}>
{fx ? 'TCMB döviz satış' : 'Kur verisi bekleniyor'}
</span>
</div>
{fx && <p className="text-[11px]"><a href={fx.source} target="_blank" rel="noreferrer" className="underline">TCMB bülteni: {fx.bulletinDate}</a> · Alındı: {new Date(fx.fetchedAt).toLocaleString('tr-TR')}</p>}