2024-04-04 13:25:32 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
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';
|
2024-06-02 08:10:38 +00:00
|
|
|
import { CreateView } from '@/react/edge/edge-jobs/CreateView/CreateView';
|
2024-04-04 13:25:32 +00:00
|
|
|
|
|
|
|
export const jobsModule = angular
|
|
|
|
.module('portainer.edge.react.views.jobs', [])
|
2024-06-02 08:10:38 +00:00
|
|
|
.component('edgeJobsView', r2a(withUIRouter(withCurrentUser(ListView)), []))
|
2024-04-04 13:25:32 +00:00
|
|
|
.component(
|
2024-06-02 08:10:38 +00:00
|
|
|
'edgeJobsCreateView',
|
|
|
|
r2a(withUIRouter(withCurrentUser(CreateView)), [])
|
2024-04-04 13:25:32 +00:00
|
|
|
).name;
|