feat: show provider window and last update in monitor view
This commit is contained in:
@@ -10,6 +10,7 @@ interface ProviderRow {
|
||||
error?: string | null
|
||||
fetched_at?: string | null
|
||||
reset_at?: string | null
|
||||
window?: string | null
|
||||
}
|
||||
|
||||
interface ServerRow {
|
||||
@@ -173,6 +174,8 @@ expires_at=' + r.data.expires_at)
|
||||
<strong>{p.provider}</strong> / {p.label} · status: {p.status}
|
||||
{p.usage_pct !== null ? (' · usage: ' + p.usage_pct + '%') : ''}
|
||||
{p.reset_at ? (' · reset: ' + p.reset_at) : ''}
|
||||
{p.window ? (' · window: ' + p.window) : ''}
|
||||
{p.fetched_at ? (' · updated: ' + p.fetched_at) : ''}
|
||||
{p.error ? (' · error: ' + p.error) : ''}
|
||||
</li>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user