1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

refactor(docker/services): migrate service tasks to react [EE-4676] (#10328)

This commit is contained in:
Chaim Lev-Ari 2023-10-23 13:52:49 +03:00 committed by GitHub
parent 70455320be
commit 1fa63f6ab7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 175 additions and 259 deletions

View file

@ -1,14 +1,6 @@
<div ng-if="tasks.length > 0 && nodes" id="service-tasks">
<tasks-datatable
title-text="Tasks"
title-icon="list"
dataset="tasks"
table-key="service-tasks"
order-by="Updated"
reverse-order="true"
nodes="nodes"
show-slot-column="service.Mode !== 'global'"
show-logs-button="applicationState.endpoint.apiVersion >= 1.30"
agent-proxy="applicationState.endpoint.mode.agentProxy"
></tasks-datatable>
</div>
<docker-service-tasks-datatable
ng-if="tasks.length > 0"
dataset="tasks"
is-slot-column-visible="service.Mode !== 'global'"
service-name="service.Name"
></docker-service-tasks-datatable>

View file

@ -253,6 +253,7 @@
<div id="service-labels" class="padding-top" ng-include="'app/docker/views/services/edit/includes/servicelabels.html'"></div>
<div id="service-configs" class="padding-top" ng-include="'app/docker/views/services/edit/includes/configs.html'"></div>
<div id="service-secrets" ng-if="applicationState.endpoint.apiVersion >= 1.25" class="padding-top" ng-include="'app/docker/views/services/edit/includes/secrets.html'"></div>
<div id="service-tasks" class="padding-top" ng-include="'app/docker/views/services/edit/includes/tasks.html'"></div>
</div>
</div>
<div id="service-tasks" class="padding-top" ng-include="'app/docker/views/services/edit/includes/tasks.html'"></div>