mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 18:59:41 +02:00
feat(tasks): change task name format in tasks datatable (#1884)
This commit is contained in:
parent
b2b1c86067
commit
a0a667053e
6 changed files with 14 additions and 10 deletions
|
@ -413,9 +413,10 @@ function ($q, $scope, $transition$, $state, $location, $timeout, $anchorScroll,
|
|||
var apiVersion = $scope.applicationState.endpoint.apiVersion;
|
||||
var agentProxy = $scope.applicationState.endpoint.mode.agentProxy;
|
||||
|
||||
var service = null;
|
||||
ServiceService.service($transition$.params().id)
|
||||
.then(function success(data) {
|
||||
var service = data;
|
||||
service = data;
|
||||
$scope.isUpdating = $scope.lastVersion >= service.Version;
|
||||
if (!$scope.isUpdating) {
|
||||
$scope.lastVersion = service.Version;
|
||||
|
@ -460,6 +461,8 @@ function ($q, $scope, $transition$, $state, $location, $timeout, $anchorScroll,
|
|||
}
|
||||
}
|
||||
|
||||
ServiceHelper.associateTasksToService(service, tasks);
|
||||
|
||||
$scope.tasks = data.tasks;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue