mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
* fix(services): replicas numbers display is now correct with constraints and down nodes * refactor(helpers): constraint helper has less complexity * feat(services): constraints on node/engine labels are now supported * refactor(helpers): ConstraintsHelper - remove regex patterns and improve code lisibility * refactor(helpers): rework matchesConstraint() for better code lisibility and lodash find() instead for IE compatibility
This commit is contained in:
parent
e1e263d8c8
commit
1b51daf9c4
4 changed files with 113 additions and 6 deletions
|
@ -5,6 +5,7 @@ function TaskViewModel(data) {
|
|||
this.Slot = data.Slot;
|
||||
this.Spec = data.Spec;
|
||||
this.Status = data.Status;
|
||||
this.DesiredState = data.DesiredState;
|
||||
this.ServiceId = data.ServiceID;
|
||||
this.NodeId = data.NodeID;
|
||||
if (data.Status && data.Status.ContainerStatus && data.Status.ContainerStatus.ContainerID) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue