mirror of
https://github.com/ansible/awx.git
synced 2026-03-29 06:45:09 -02:30
To leave user in the context of jobs/schedules when editing a schedule instead of putting them in the context of the resource they're scheduling
17 lines
547 B
JavaScript
17 lines
547 B
JavaScript
import JobsStrings from './jobs.strings';
|
|
import jobsRoute from './routes/jobs.route';
|
|
import { jobsSchedulesRoute, jobsSchedulesEditRoute } from '../../src/scheduler/schedules.route';
|
|
|
|
const MODULE_NAME = 'at.features.jobs';
|
|
|
|
angular
|
|
.module(MODULE_NAME, [])
|
|
.service('JobsStrings', JobsStrings)
|
|
.run(['$stateExtender', ($stateExtender) => {
|
|
$stateExtender.addState(jobsRoute);
|
|
$stateExtender.addState(jobsSchedulesRoute);
|
|
$stateExtender.addState(jobsSchedulesEditRoute);
|
|
}]);
|
|
|
|
export default MODULE_NAME;
|