mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Changed functions to arrow functions for only-arrow-functions rule. (#13131)
This commit is contained in:
committed by
Torkel Ödegaard
parent
7c88436a9b
commit
72ab24f300
@@ -21,7 +21,7 @@ function grafanaRoutes($routeProvider) {
|
||||
.when('/playlists/play/:id', {
|
||||
template: '',
|
||||
resolve: {
|
||||
init: function(playlistSrv, $route) {
|
||||
init: (playlistSrv, $route) => {
|
||||
const playlistId = $route.current.params.id;
|
||||
playlistSrv.start(playlistId);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user