1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

refactor(kube/namespaces): migrate item apps table to react [EE-4693] (#11012)

This commit is contained in:
Chaim Lev-Ari 2024-04-02 22:55:34 +03:00 committed by GitHub
parent d99486ee72
commit 9c68c6c9f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 135 additions and 231 deletions

View file

@ -3,11 +3,11 @@ import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { NamespacesDatatable } from '@/react/kubernetes/namespaces/ListView/NamespacesDatatable';
import { NamespaceAppsDatatable } from '@/react/kubernetes/namespaces/ItemView/NamespaceAppsDatatable';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
export const namespacesModule = angular
.module('portainer.kubernetes.react.components.namespaces', [])
.component(
'kubernetesNamespacesDatatable',
r2a(withUIRouter(withCurrentUser(NamespacesDatatable)), [
@ -15,4 +15,12 @@ export const namespacesModule = angular
'onRemove',
'onRefresh',
])
)
.component(
'kubernetesNamespaceApplicationsDatatable',
r2a(withUIRouter(withCurrentUser(NamespaceAppsDatatable)), [
'dataset',
'isLoading',
'onRefresh',
])
).name;