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:
parent
8913e75484
commit
bd271ec5a1
13 changed files with 569 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue