mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
Remove unnecessary null check
This commit is contained in:
parent
991cf0bf5a
commit
cf25dbce4a
@ -182,7 +182,7 @@ export default {
|
||||
this.overrideUpdateInterval = 30;
|
||||
},
|
||||
updated() {
|
||||
const load = this?.server?.nextcloud?.system?.cpuload;
|
||||
const load = this.server?.nextcloud?.system?.cpuload;
|
||||
if (load) this.updateCpuLoad(load);
|
||||
const sys = this.server.nextcloud.system;
|
||||
if (sys) this.updateMemoryGauge(sys);
|
||||
|
Loading…
x
Reference in New Issue
Block a user