mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
refactor(kube/volumes): migrate to react [EE-4695] (#10987)
This commit is contained in:
parent
2b53bebcb3
commit
da615afc92
24 changed files with 347 additions and 397 deletions
17
app/kubernetes/react/components/volumes.ts
Normal file
17
app/kubernetes/react/components/volumes.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { VolumesDatatable } from '@/react/kubernetes/volumes/ListView/VolumesDatatable';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
|
||||
export const volumesModule = angular
|
||||
.module('portainer.kubernetes.react.components.volumes', [])
|
||||
.component(
|
||||
'kubernetesVolumesDatatable',
|
||||
r2a(withUIRouter(withCurrentUser(VolumesDatatable)), [
|
||||
'dataset',
|
||||
'onRemove',
|
||||
'onRefresh',
|
||||
])
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue