mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03: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: {
|
||||
'@': {
|
||||
templateUrl: indexTemplate,
|
||||
controller: ['JobsStrings', function (strings) {
|
||||
controller: ['JobsStrings', (strings) => {
|
||||
const vm = this || {};
|
||||
vm.strings = strings;
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user