mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Merge pull request #2412 from jaredevantabor/fix-warning
Prefers arrow function over unnamed function
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
|||||||
views: {
|
views: {
|
||||||
'@': {
|
'@': {
|
||||||
templateUrl: indexTemplate,
|
templateUrl: indexTemplate,
|
||||||
controller: ['JobsStrings', function (strings) {
|
controller: ['JobsStrings', (strings) => {
|
||||||
const vm = this || {};
|
const vm = this || {};
|
||||||
vm.strings = strings;
|
vm.strings = strings;
|
||||||
}],
|
}],
|
||||||
|
|||||||
Reference in New Issue
Block a user