mirror of https://github.com/portainer/portainer
22 lines
702 B
TypeScript
22 lines
702 B
TypeScript
import angular from 'angular';
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
import { ApplicationsDatatable } from '@/react/kubernetes/applications/ListView/ApplicationsDatatable/ApplicationsDatatable';
|
|
|
|
export const applicationsModule = angular
|
|
.module('portainer.kubernetes.react.components.applications', [])
|
|
|
|
.component(
|
|
'kubernetesApplicationsDatatable',
|
|
r2a(withUIRouter(withCurrentUser(ApplicationsDatatable)), [
|
|
'namespace',
|
|
'namespaces',
|
|
'onNamespaceChange',
|
|
'onRefresh',
|
|
'onRemove',
|
|
'hideStacks',
|
|
])
|
|
).name;
|