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 table to react [EE-4694] (#10988)

This commit is contained in:
Chaim Lev-Ari 2024-04-02 22:26:22 +03:00 committed by GitHub
parent da615afc92
commit 26bb028ace
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 387 additions and 346 deletions

View file

@ -0,0 +1,18 @@
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 { withCurrentUser } from '@/react-tools/withCurrentUser';
export const namespacesModule = angular
.module('portainer.kubernetes.react.components.namespaces', [])
.component(
'kubernetesNamespacesDatatable',
r2a(withUIRouter(withCurrentUser(NamespacesDatatable)), [
'dataset',
'onRemove',
'onRefresh',
])
).name;