@goodandready/dsh-subscriptions 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -898,10 +898,10 @@ export function apply(ctx, config) {
|
|
|
898
898
|
const reset = a.quota && a.quota.resetAt ? new Date(a.quota.resetAt).toLocaleString() : ''
|
|
899
899
|
const status = a.validationUrl ? 'verify' : (a.cooldownUntil && a.cooldownUntil > Date.now() ? 'cooldown' : (a.configured ? 'ok' : 'none'))
|
|
900
900
|
return '<tr><td>' + escapeHtml(a.provider) + '</td><td>' + (a.index||1) + '</td>' +
|
|
901
|
-
'<td>' +
|
|
901
|
+
'<td>' + escapeHtml(a.label || a.email || '') + '</td><td>' + status + '</td>' +
|
|
902
902
|
'<td>' + (pct != null ? Math.round(pct) + '%' : '—') + '</td>' +
|
|
903
903
|
'<td>' + (rem != null ? (rem + (lim != null ? '/' + lim : '')) : '—') + '</td>' +
|
|
904
|
-
'<td>' +
|
|
904
|
+
'<td>' + escapeHtml(reset) + '</td><td>' + escapeHtml(a.refreshError || '') + '</td></tr>'
|
|
905
905
|
})
|
|
906
906
|
const body = rows.length
|
|
907
907
|
? '<div class="grid">' + rows.join('') + '</div>'
|
package/package.json
CHANGED