fix: clarify active interface module count
This commit is contained in:
@@ -505,7 +505,7 @@ export default function DashboardPage({
|
||||
|
||||
<div className="metric-grid dashboard-summary-grid">
|
||||
<MetricCard
|
||||
label="Installed modules"
|
||||
label="Active interface modules"
|
||||
value={modules.length}
|
||||
tone="info"
|
||||
detail={moduleLabels(modules)}
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function InstalledModulesWidget({
|
||||
modules: PlatformWebModule[];
|
||||
configuration: DashboardWidgetConfiguration;
|
||||
}) {
|
||||
if (!modules.length) return <p className="muted">No WebUI modules are active.</p>;
|
||||
if (!modules.length) return <p className="muted">No interface modules are active.</p>;
|
||||
const maxItems = clampNumber(configuration.maxItems, 1, 50, 8);
|
||||
const showVersions = configuration.showVersions !== false;
|
||||
const sortBy = configuration.sortBy === "label" ? "label" : "module";
|
||||
@@ -37,7 +37,7 @@ export default function InstalledModulesWidget({
|
||||
</div>
|
||||
)}
|
||||
</dl>
|
||||
{remaining > 0 && <p className="muted dashboard-widget-overflow">+{remaining} more active modules</p>}
|
||||
{remaining > 0 && <p className="muted dashboard-widget-overflow">+{remaining} more active interface modules</p>}
|
||||
</>);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user