mirror of https://github.com/portainer/portainer
16 lines
610 B
TypeScript
16 lines
610 B
TypeScript
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';
|
|
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(
|
|
'edgeJobsCreateView',
|
|
r2a(withUIRouter(withCurrentUser(CreateView)), [])
|
|
).name;
|