You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/docker/react/components/services.ts

29 lines
895 B

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { ServicesDatatable } from '@/react/docker/services/ListView/ServicesDatatable';
import { TasksDatatable } from '@/react/docker/services/ItemView/TasksDatatable';
export const servicesModule = angular
.module('portainer.docker.react.components.services', [])
.component(
'dockerServiceTasksDatatable',
r2a(withUIRouter(withCurrentUser(TasksDatatable)), [
'serviceName',
'dataset',
'isSlotColumnVisible',
])
)
.component(
'dockerServicesDatatable',
r2a(withUIRouter(withCurrentUser(ServicesDatatable)), [
'dataset',
'isAddActionVisible',
'isStackColumnVisible',
'onRefresh',
'titleIcon',
])
).name;