diff --git a/app/src/components/admin/AdminRoute.js b/app/src/components/admin/AdminRoute.js
index c1f670fe..f0e6f50d 100644
--- a/app/src/components/admin/AdminRoute.js
+++ b/app/src/components/admin/AdminRoute.js
@@ -7,7 +7,7 @@ import {ThemeContext} from "../../contexts/contexts";
import {Header, Loader, Segment} from "../Theme";
import {DownloadsPage} from "./Downloads";
import {SettingsPage} from "./Settings";
-import {Status} from "./Status";
+import {StatusPage} from "./Status";
class WROLMode extends React.Component {
@@ -79,7 +79,7 @@ export default function AdminRoute() {
}/>
}/>
- }/>
+ }/>
}/>
diff --git a/app/src/components/admin/Status.js b/app/src/components/admin/Status.js
index f4470714..0028d57c 100644
--- a/app/src/components/admin/Status.js
+++ b/app/src/components/admin/Status.js
@@ -126,24 +126,41 @@ export function BandwidthProgressCombined({bandwidth, ...props}) {
return
}
-export function CPUUsageProgress({value, label}) {
- if (value === null) {
+export function CPUUsageProgress({percent, label}) {
+ if (percent === null) {
return
}
let color = 'black';
- if (value >= 90) {
+ if (percent >= 90) {
color = 'red';
- } else if (value >= 70) {
+ } else if (percent >= 70) {
color = 'brown';
- } else if (value >= 50) {
+ } else if (percent >= 50) {
color = 'orange';
}
- return