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