dsh-model-allowance 1.0.1 → 1.0.2
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/client.js +4 -5
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -1501,11 +1501,10 @@ function BalanceBadge(props) {
|
|
|
1501
1501
|
style: { width: `${String(filled)}%` }
|
|
1502
1502
|
})
|
|
1503
1503
|
),
|
|
1504
|
-
// A window
|
|
1505
|
-
//
|
|
1506
|
-
//
|
|
1507
|
-
|
|
1508
|
-
typeof window.resetAt === "number" ? (0, import_react3.createElement)(
|
|
1504
|
+
// A window with zero usage has not started its rolling timer
|
|
1505
|
+
// yet, so the countdown would be misleading. Hide it until
|
|
1506
|
+
// consumption begins.
|
|
1507
|
+
typeof window.resetAt === "number" && (typeof window.remainingPercent !== "number" || window.remainingPercent < 100) ? (0, import_react3.createElement)(
|
|
1509
1508
|
"div",
|
|
1510
1509
|
{ className: "dsh-model-allowance-foot" },
|
|
1511
1510
|
(0, import_react3.createElement)(
|