1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(edge/jobs): migrate create view to react [EE-2221] (#11867)

This commit is contained in:
Chaim Lev-Ari 2024-06-02 11:10:38 +03:00 committed by GitHub
parent 94c91035a7
commit 02fbdfec36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 777 additions and 163 deletions

View file

@ -4,10 +4,12 @@ import { r2a } from '@/react-tools/react2angular';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { ListView } from '@/react/edge/edge-jobs/ListView';
import { CreateView } from '@/react/edge/edge-jobs/CreateView/CreateView';
export const jobsModule = angular
.module('portainer.edge.react.views.jobs', [])
.component('edgeJobsView', r2a(withUIRouter(withCurrentUser(ListView)), []))
.component(
'edgeJobsView',
r2a(withUIRouter(withCurrentUser(ListView)), [])
'edgeJobsCreateView',
r2a(withUIRouter(withCurrentUser(CreateView)), [])
).name;