mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(docker/services): convert services table to react [EE-4675] (#10289)
This commit is contained in:
parent
6b5c24faff
commit
0dc1805881
46 changed files with 969 additions and 850 deletions
|
@ -5,6 +5,7 @@ import { withUIRouter } from '@/react-tools/withUIRouter';
|
|||
import { TasksDatatable } from '@/react/docker/services/ListView/ServicesDatatable/TasksDatatable';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { TaskTableQuickActions } from '@/react/docker/services/common/TaskTableQuickActions';
|
||||
import { ServicesDatatable } from '@/react/docker/services/ListView/ServicesDatatable';
|
||||
|
||||
export const servicesModule = angular
|
||||
.module('portainer.docker.react.components.services', [])
|
||||
|
@ -18,4 +19,14 @@ export const servicesModule = angular
|
|||
'state',
|
||||
'taskId',
|
||||
])
|
||||
)
|
||||
.component(
|
||||
'dockerServicesDatatable',
|
||||
r2a(withUIRouter(withCurrentUser(ServicesDatatable)), [
|
||||
'dataset',
|
||||
'isAddActionVisible',
|
||||
'isStackColumnVisible',
|
||||
'onRefresh',
|
||||
'titleIcon',
|
||||
])
|
||||
).name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue