mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +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:
parent
e4ca58a042
commit
d85708f6ea
4 changed files with 123 additions and 9 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue