mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 12:25:22 +02:00
refactor(docker): move components to react [EE-3348] (#7084)
This commit is contained in:
parent
7238372d8d
commit
46e1a01625
41 changed files with 61 additions and 76 deletions
5
app/react/docker/networks/network.helper.ts
Normal file
5
app/react/docker/networks/network.helper.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
const systemNetworks = ['host', 'bridge', 'ingress', 'nat', 'none'];
|
||||
|
||||
export function isSystemNetwork(networkName: string) {
|
||||
return systemNetworks.includes(networkName);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue