2023-09-04 18:07:29 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2023-10-19 11:45:50 +00:00
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
2023-09-04 18:07:29 +00:00
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
2023-09-21 02:31:00 +00:00
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { ContainerNetworksDatatable } from '@/react/docker/containers/ItemView/ContainerNetworksDatatable';
|
2023-09-04 18:07:29 +00:00
|
|
|
|
2023-09-07 14:14:03 +00:00
|
|
|
const ngModule = angular
|
|
|
|
.module('portainer.docker.react.components.containers', [])
|
|
|
|
.component(
|
|
|
|
'dockerContainerNetworksDatatable',
|
|
|
|
r2a(withUIRouter(withCurrentUser(ContainerNetworksDatatable)), [
|
|
|
|
'container',
|
|
|
|
'dataset',
|
|
|
|
'nodeName',
|
|
|
|
])
|
|
|
|
);
|
2023-09-04 18:07:29 +00:00
|
|
|
|
|
|
|
export const containersModule = ngModule.name;
|