- Failed to load dashboard statistics -
-- Please try again later. -
-- Stats -
-{label}
+
+
{detail}
+ > + ); + + return to ? ( ++ Couldn't load some of these numbers. +
+ )} +Devices
++ + {formatCount(capacity.used)} + + + {capacity.state === "unlimited" + ? "accepted, unlimited" + : `of ${formatCount(capacity.limit)} accepted`} + +
+ {capacity.state !== "unlimited" && capacity.limit > 0 && ( ++ Loading the license… +
+ )} + {capacity &&{children}
+ ++ {details.join(" · ")} +
+
+
+ {children} +
+ ); +} + +/** + * A labelled value inside a panel. With to, the whole row is a link to the page behind the value. + */ +export function Row({ + label, + to, + children, +}: { + label: string; + to?: string; + children: ReactNode; +}) { + const body = ( + <> + {label} + + {children} + {to && ( +
+
+ {value || "Not reported"}
+
+
+ {value &&