fix ingress screen loading (#7715)

pull/7721/head
Prabhat Khera 2 years ago committed by GitHub
parent f8b8d549fd
commit 4fe2a7c750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save