Small fix
This commit is contained in:
miroman-afk
2022-01-20 12:03:19 +03:00
parent 104017ed96
commit cf997da7ec
10 changed files with 166 additions and 12 deletions

View File

@@ -278,6 +278,9 @@
};
$scope.update = function () {
smartRequest.get('dashboard/online/updatetime', function (data) {
$scope.update_time = data.updated;
});
smartRequest.get('dashboard/online/updatetime', function (data) {
$scope.update_time = data.updated;

View File

@@ -142,7 +142,7 @@
console.log(data.message);
setTimeout(function() {
location.reload();
}, 20000);
}, 5000);
}
if ($scope.status == 'error') {
Notification.error(data.message);