proper task name for dashboard change

This commit is contained in:
Girish Ramakrishnan
2023-08-14 09:40:31 +05:30
parent abff970169
commit 4acbb7136a
13 changed files with 77 additions and 87 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ angular.module('Application').controller('DomainsController', ['$scope', '$locat
tasks: [],
refreshTasks: function () {
Client.getTasksByType(TASK_TYPES.TASK_SETUP_DNS_AND_CERT, function (error, tasks) {
Client.getTasksByType(TASK_TYPES.TASK_PREPARE_DASHBOARD_LOCATION, function (error, tasks) {
if (error) return console.error(error);
$scope.changeDashboard.tasks = tasks.slice(0, 10);
if ($scope.changeDashboard.tasks.length && $scope.changeDashboard.tasks[0].active) $scope.changeDashboard.updateStatus();