mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Maps] trigger digest cycle on kbnUrl.change (#27812)
* [Maps] trigger digest cycle on kbnUrl.change * remove extra space
This commit is contained in:
parent
1a8ae1505b
commit
280fa97500
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ app.controller('GisMapController', ($scope, $route, config, kbnUrl) => {
|
|||
});
|
||||
|
||||
if (savedMap.id !== $route.current.params.id) {
|
||||
kbnUrl.change(`map/{{id}}`, { id: savedMap.id });
|
||||
$scope.$evalAsync(() => {
|
||||
kbnUrl.change(`map/{{id}}`, { id: savedMap.id });
|
||||
});
|
||||
}
|
||||
}
|
||||
return { id };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue