1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

refactor(docker/networks): migrate macvlan nodes selector to react [EE-4669] (#10183)

This commit is contained in:
Chaim Lev-Ari 2023-09-11 15:27:04 +01:00 committed by GitHub
parent 09aa1d35a8
commit 60477ae287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 315 additions and 220 deletions

View file

@ -0,0 +1,18 @@
import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { MacvlanNodesSelector } from '@/react/docker/networks/CreateView/MacvlanNodesSelector/MacvlanNodesSelector';
import { withUIRouter } from '@/react-tools/withUIRouter';
export const networksModule = angular
.module('portainer.docker.react.components.networks', [])
.component(
'macvlanNodesSelector',
r2a(withUIRouter(MacvlanNodesSelector), [
'dataset',
'isIpColumnVisible',
'haveAccessToNode',
'value',
'onChange',
])
).name;