mirror of https://github.com/portainer/portainer
fix ingress screen loading (#7715)
parent
f8b8d549fd
commit
4fe2a7c750
|
@ -3,8 +3,20 @@ import angular from 'angular';
|
|||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { IngressesDatatableView } from '@/kubernetes/react/views/networks/ingresses/IngressDatatable';
|
||||
import { CreateIngressView } from '@/kubernetes/react/views/networks/ingresses/CreateIngressView';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { withReactQuery } from '@/react-tools/withReactQuery';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
|
||||
export const viewsModule = angular
|
||||
.module('portainer.kubernetes.react.views', [])
|
||||
.component('kubernetesIngressesView', r2a(IngressesDatatableView, []))
|
||||
.component('kubernetesIngressesCreateView', r2a(CreateIngressView, [])).name;
|
||||
.component(
|
||||
'kubernetesIngressesView',
|
||||
r2a(
|
||||
withUIRouter(withReactQuery(withCurrentUser(IngressesDatatableView))),
|
||||
[]
|
||||
)
|
||||
)
|
||||
.component(
|
||||
'kubernetesIngressesCreateView',
|
||||
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
|
||||
).name;
|
||||
|
|
Loading…
Reference in New Issue