From 2e04654142b16842fd1a37a923d8dd7c1a9bcdf4 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) { }; }); - -