mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
refactor(docker/containers): migrate networks table to react [EE-4665] (#10069)
This commit is contained in:
parent
776f6a62c3
commit
b15812a74d
28 changed files with 632 additions and 259 deletions
|
@ -9,11 +9,20 @@ import {
|
|||
CommandsTabValues,
|
||||
commandsTabValidation,
|
||||
} from '@/react/docker/containers/CreateView/CommandsTab';
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { ContainerNetworksDatatable } from '@/react/docker/containers/ItemView/ContainerNetworksDatatable';
|
||||
|
||||
const ngModule = angular.module(
|
||||
'portainer.docker.react.components.containers',
|
||||
[]
|
||||
);
|
||||
const ngModule = angular
|
||||
.module('portainer.docker.react.components.containers', [])
|
||||
.component(
|
||||
'dockerContainerNetworksDatatable',
|
||||
r2a(withUIRouter(withCurrentUser(ContainerNetworksDatatable)), [
|
||||
'container',
|
||||
'dataset',
|
||||
'nodeName',
|
||||
])
|
||||
);
|
||||
|
||||
export const containersModule = ngModule.name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue