mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 18:24:01 +08:00
Add deprecation warnigns to $location patch (#31898)
This commit is contained in:
@ -31,7 +31,7 @@ const interceptAngularLocation = () => {
|
||||
$provide.decorator('$location', [
|
||||
'$delegate',
|
||||
($delegate: ILocationService) => {
|
||||
$delegate = new AngularLocationWrapper() as ILocationService;
|
||||
$delegate = (new AngularLocationWrapper() as unknown) as ILocationService;
|
||||
return $delegate;
|
||||
},
|
||||
]);
|
||||
|
Reference in New Issue
Block a user