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

refactor(kube/registries): migrate access table to react [EE-4706] (#10688)

This commit is contained in:
Chaim Lev-Ari 2024-04-08 17:23:12 +03:00 committed by GitHub
parent f584bf3830
commit a00cb951bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 74 additions and 142 deletions

View file

@ -66,6 +66,7 @@ import { applicationsModule } from './applications';
import { volumesModule } from './volumes';
import { namespacesModule } from './namespaces';
import { clusterManagementModule } from './clusterManagement';
import { registriesModule } from './registries';
export const ngModule = angular
.module('portainer.kubernetes.react.components', [
@ -73,6 +74,7 @@ export const ngModule = angular
volumesModule,
namespacesModule,
clusterManagementModule,
registriesModule,
])
.component(
'ingressClassDatatable',

View file

@ -0,0 +1,11 @@
import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { AccessTable } from '@/react/kubernetes/cluster/RegistryAccessView/AccessTable';
export const registriesModule = angular
.module('portainer.kubernetes.react.components.registries', [])
.component(
'kubeRegistryAccessTable',
r2a(AccessTable, ['dataset', 'onRemove'])
).name;