1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 04:15:28 +02:00

feat(docker/services): Add the ability to edit a service networks (#3957)

* feat(services): update services details view

* feat(services): Add the ability to edit a service networks

* feat(services): show ingress network

* refactor(services): use lodash

* feat(networks): disable sending when updating

* feat(networks): limit size of select

* feat(services): update networks only when network is new

* feat(services): prevent submitting of empty networks

* feat(services): show unique networks

* fix(service): use empty array default for networks

* feat(service): show only swarm networks

* feat(services): show placeholder for network

* feat(services): show spaced select box

* feat(services): show macvlan ip

* feat(service): fetch the network subnet

* feat(services): show empty ip when network is not connected

Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
This commit is contained in:
Maxime Bajeux 2020-08-07 01:11:47 +02:00 committed by GitHub
parent e4ca58a042
commit d85708f6ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 123 additions and 9 deletions

View file

@ -10,6 +10,7 @@ export function NetworkViewModel(data) {
this.IPAM = data.IPAM;
this.Containers = data.Containers;
this.Options = data.Options;
this.Ingress = data.Ingress;
this.Labels = data.Labels;
if (this.Labels && this.Labels['com.docker.compose.project']) {