mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
refactor(kube/cluster): migrate node apps table to react [EE-4691] (#11016)
This commit is contained in:
parent
9c68c6c9f3
commit
a5faddc56c
19 changed files with 233 additions and 261 deletions
17
app/kubernetes/react/components/clusterManagement.ts
Normal file
17
app/kubernetes/react/components/clusterManagement.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { NodeApplicationsDatatable } from '@/react/kubernetes/cluster/NodeView/NodeApplicationsDatatable/NodeApplicationsDatatable';
|
||||
|
||||
export const clusterManagementModule = angular
|
||||
.module('portainer.kubernetes.react.components.clusterManagement', [])
|
||||
.component(
|
||||
'kubernetesNodeApplicationsDatatable',
|
||||
r2a(withUIRouter(withCurrentUser(NodeApplicationsDatatable)), [
|
||||
'dataset',
|
||||
'isLoading',
|
||||
'onRefresh',
|
||||
])
|
||||
).name;
|
|
@ -65,12 +65,14 @@ import { IntegratedAppsDatatable } from '@/react/kubernetes/components/Integrate
|
|||
import { applicationsModule } from './applications';
|
||||
import { volumesModule } from './volumes';
|
||||
import { namespacesModule } from './namespaces';
|
||||
import { clusterManagementModule } from './clusterManagement';
|
||||
|
||||
export const ngModule = angular
|
||||
.module('portainer.kubernetes.react.components', [
|
||||
applicationsModule,
|
||||
volumesModule,
|
||||
namespacesModule,
|
||||
clusterManagementModule,
|
||||
])
|
||||
.component(
|
||||
'ingressClassDatatable',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue