mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Fix build order with new module files
The two renamed files represent files that merely define angular modules. Unfortunately, in minification mode, they were getting processed out of order with files that depend on them. Since we don't have any sort of native module or dependency resolution (YET), I'm hacking it to make sure they come first asciibetically.
This commit is contained in:
parent
d534674568
commit
ed15bdeb63
@ -400,12 +400,12 @@ angular.module('Tower', [
|
||||
templateUrl: urlPrefix + 'partials/home.html',
|
||||
controller: 'Home',
|
||||
resolve: {
|
||||
graphData: function($q, jobStatusGraphData, hostCountGraphData) {
|
||||
graphData: ['$q', 'jobStatusGraphData', 'hostCountGraphData', function($q, jobStatusGraphData, hostCountGraphData) {
|
||||
return $q.all({
|
||||
jobStatus: jobStatusGraphData.get("month", "all"),
|
||||
hostCounts: hostCountGraphData.get()
|
||||
});
|
||||
}
|
||||
}]
|
||||
}
|
||||
}).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user