Remove overly verbose comments

This commit is contained in:
Cooldude2606 committed 2026-08-10 16:45:56 +01:00
1 parent 1e4b586fa3
commit 499d219933
3 files changed
+7 -17

No files matched your search

@@ -88,11 +88,6 @@ export default function PluginsPage() {
if (!plugin.meta.enabled) {
return <><InfoCircleFilled style={{ color: "#1668dc" }} /> Disabled on controller</>;
}
// Plugins are loaded once when the page starts, so one the
// controller has picked up since then was never attempted
// rather than attempted and failed. A plugin the controller
// cannot serve at all is excluded before it gets that far,
// and is a real error.
if (!plugin.meta.web.error && !control.pluginInfos.has(plugin.meta.name)) {
return <><InfoCircleFilled style={{ color: "#1668dc" }} /> Reload page to load</>;
}
@@ -100,7 +95,7 @@ export default function PluginsPage() {
return <><CloseCircleFilled style={{ color: "#dc4446" }} /> Error loading module</>;
}
if (plugin.package.version !== plugin.meta.version) {
return "Version missmatched";
return <><CloseCircleFilled style={{ color: "#dc4446" }} /> Version mis-matched</>;
}
return plugin.package.version;
},