mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
feat(networks): prevent removal of predefined networks (#2697)
* fix(networks): disable removing predefined networks (#1838) * fix(networks): disable select all for predefined networks (#1838) * fix(networks): do not allow delete in network-details & use constant (#1838)
This commit is contained in:
parent
c152d3f62e
commit
9cbf1f34a7
6 changed files with 31 additions and 6 deletions
|
@ -20,4 +20,5 @@ angular.module('portainer')
|
|||
.constant('DEFAULT_TEMPLATES_URL', 'https://raw.githubusercontent.com/portainer/templates/master/templates.json')
|
||||
.constant('PAGINATION_MAX_ITEMS', 10)
|
||||
.constant('APPLICATION_CACHE_VALIDITY', 3600)
|
||||
.constant('CONSOLE_COMMANDS_LABEL_PREFIX', 'io.portainer.commands.');
|
||||
.constant('CONSOLE_COMMANDS_LABEL_PREFIX', 'io.portainer.commands.')
|
||||
.constant('PREDEFINED_NETWORKS', ['host', 'bridge', 'none']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue