1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-07 14:55:27 +02:00

refactor(registries): migrate tags table to react [EE-6452] (#10990)

This commit is contained in:
Chaim Lev-Ari 2024-04-09 08:08:14 +03:00 committed by GitHub
parent 8913e75484
commit bd271ec5a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 569 additions and 0 deletions

View file

@ -4,10 +4,20 @@ import { r2a } from '@/react-tools/react2angular';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { RepositoriesDatatable } from '@/react/portainer/registries/repositories/ListView/RepositoriesDatatable';
import { TagsDatatable } from '@/react/portainer/registries/repositories/ItemView/TagsDatatable/TagsDatatable';
export const registriesModule = angular
.module('portainer.app.react.components.registries', [])
.component(
'registryRepositoriesDatatable',
r2a(withUIRouter(withReactQuery(RepositoriesDatatable)), ['dataset'])
)
.component(
'registriesRepositoryTagsDatatable',
r2a(withUIRouter(withReactQuery(TagsDatatable)), [
'dataset',
'advancedFeaturesAvailable',
'onRemove',
'onRetag',
])
).name;