mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(kube/apps): convert placement table to react [EE-4662] (#8938)
This commit is contained in:
parent
bf79ef7d89
commit
37ece734f0
15 changed files with 379 additions and 309 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
import { withUserProvider } from '@/react/test-utils/withUserProvider';
|
||||
import { withFormValidation } from '@/react-tools/withFormValidation';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { PlacementsDatatable } from '@/react/kubernetes/applications/ItemView/PlacementsDatatable';
|
||||
|
||||
export const ngModule = angular
|
||||
.module('portainer.kubernetes.react.components', [])
|
||||
|
@ -107,6 +108,10 @@ export const ngModule = angular
|
|||
withUIRouter(withReactQuery(withUserProvider(ApplicationDetailsWidget))),
|
||||
[]
|
||||
)
|
||||
)
|
||||
.component(
|
||||
'kubernetesApplicationPlacementsDatatable',
|
||||
r2a(withCurrentUser(PlacementsDatatable), ['dataset', 'onRefresh'])
|
||||
);
|
||||
|
||||
export const componentsModule = ngModule.name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue