mirror of
https://github.com/portainer/portainer.git
synced 2025-07-31 03:09:44 +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
|
@ -41,7 +41,6 @@ angular.module('portainer.docker').factory('NetworkService', [
|
|||
Network.query({ filters: filters })
|
||||
.$promise.then(function success(data) {
|
||||
var networks = data;
|
||||
|
||||
var filteredNetworks = networks
|
||||
.filter(function (network) {
|
||||
if (localNetworks && network.Scope === 'local') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue