1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

refactor(app): migrate the yaml inspector to react [EE-5356] (#10058)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-08-17 22:01:10 +12:00 committed by GitHub
parent 23295d2736
commit 0f6607e703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 98 additions and 112 deletions

View file

@ -21,6 +21,7 @@ import { ApplicationContainersDatatable } from '@/react/kubernetes/applications/
import { withFormValidation } from '@/react-tools/withFormValidation';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { PlacementsDatatable } from '@/react/kubernetes/applications/ItemView/PlacementsDatatable';
import { YAMLInspector } from '@/react/kubernetes/components/YAMLInspector';
export const ngModule = angular
.module('portainer.kubernetes.react.components', [])
@ -96,6 +97,13 @@ export const ngModule = angular
'supportGlobalDeployment',
])
)
.component(
'kubeYamlInspector',
r2a(withUIRouter(withReactQuery(withCurrentUser(YAMLInspector))), [
'identifier',
'data',
])
)
.component(
'applicationSummaryWidget',
r2a(