You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/edge/react/views/jobs.ts

21 lines
774 B

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';
import { ItemView } from '@/react/edge/edge-jobs/ItemView/ItemView';
export const jobsModule = angular
.module('portainer.edge.react.views.jobs', [])
.component('edgeJobsView', r2a(withUIRouter(withCurrentUser(ListView)), []))
.component(
'edgeJobsItemView',
r2a(withUIRouter(withCurrentUser(ItemView)), [])
)
.component(
'edgeJobsCreateView',
r2a(withUIRouter(withCurrentUser(CreateView)), [])
).name;