mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
refactor(docker/volumes): migrate table to react [EE-4677] (#10312)
This commit is contained in:
parent
8e1417b4e9
commit
5c37ed328f
25 changed files with 402 additions and 395 deletions
18
app/docker/react/components/volumes.ts
Normal file
18
app/docker/react/components/volumes.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
import { VolumesDatatable } from '@/react/docker/volumes/ListView/VolumesDatatable';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
|
||||
export const volumesModule = angular
|
||||
.module('portainer.docker.react.components.volumes', [])
|
||||
.component(
|
||||
'volumesDatatable',
|
||||
r2a(withUIRouter(withCurrentUser(VolumesDatatable)), [
|
||||
'dataset',
|
||||
'onRemove',
|
||||
'onRefresh',
|
||||
'isBrowseVisible',
|
||||
])
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue