mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
refactor(docker/swarm): migrate nodes table to react [EE-4672] (#10184)
This commit is contained in:
parent
fbdbd277f7
commit
bf85a8861d
18 changed files with 210 additions and 255 deletions
17
app/docker/react/components/swarm.ts
Normal file
17
app/docker/react/components/swarm.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
import { NodesDatatable } from '@/react/docker/swarm/SwarmView/NodesDatatable';
|
||||
|
||||
export const swarmModule = angular
|
||||
.module('portainer.docker.react.components.swarm', [])
|
||||
.component(
|
||||
'nodesDatatable',
|
||||
r2a(withUIRouter(NodesDatatable), [
|
||||
'dataset',
|
||||
'isIpColumnVisible',
|
||||
'haveAccessToNode',
|
||||
'onRefresh',
|
||||
])
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue