From 68429adbf85eb2e5b2718bada1a0bb4c1fa1f71f Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 20 Apr 2022 16:33:05 +0500 Subject: [PATCH] bug fix: load main page data --- static/baseTemplate/custom-js/system-status.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/static/baseTemplate/custom-js/system-status.js b/static/baseTemplate/custom-js/system-status.js index affffe87d..e017d31e1 100644 --- a/static/baseTemplate/custom-js/system-status.js +++ b/static/baseTemplate/custom-js/system-status.js @@ -514,9 +514,9 @@ app.controller('homePageStatus', function ($scope, $http, $timeout) { $scope.two = response.data.two; $scope.three = response.data.three; - document.getElementById("load1").innerHTML = $scope.one; - document.getElementById("load2").innerHTML = $scope.two; - document.getElementById("load3").innerHTML = $scope.three; + //document.getElementById("load1").innerHTML = $scope.one; + //document.getElementById("load2").innerHTML = $scope.two; + //document.getElementById("load3").innerHTML = $scope.three; } function cantGetLoadAvgData(response) { @@ -700,5 +700,3 @@ app.controller('designtheme', function ($scope, $http, $timeout) { }; }); - -