mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(docker/configs): implement table in react [EE-4664] (#8912)
This commit is contained in:
parent
0bcb57568c
commit
615af4fdee
9 changed files with 119 additions and 197 deletions
|
@ -18,6 +18,7 @@ import { InsightsBox } from '@/react/components/InsightsBox';
|
|||
import { BetaAlert } from '@/react/portainer/environments/update-schedules/common/BetaAlert';
|
||||
import { ImagesDatatable } from '@/react/docker/images/ListView/ImagesDatatable/ImagesDatatable';
|
||||
import { EventsDatatable } from '@/react/docker/events/EventsDatatables';
|
||||
import { ConfigsDatatable } from '@/react/docker/configs/ListView/ConfigsDatatable';
|
||||
|
||||
const ngModule = angular
|
||||
.module('portainer.docker.react.components', [])
|
||||
|
@ -82,6 +83,14 @@ const ngModule = angular
|
|||
'onRemove',
|
||||
])
|
||||
)
|
||||
.component(
|
||||
'dockerConfigsDatatable',
|
||||
r2a(withUIRouter(ConfigsDatatable), [
|
||||
'dataset',
|
||||
'onRemoveClick',
|
||||
'onRefresh',
|
||||
])
|
||||
)
|
||||
.component('dockerEventsDatatable', r2a(EventsDatatable, ['dataset']));
|
||||
|
||||
export const componentsModule = ngModule.name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue