Skip to content

Commit

Permalink
Remove kbnUrl usage in angular_config
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof committed Mar 19, 2020
1 parent 0f01e33 commit 8bfd6f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const $setupUICapabilityRedirect = (newPlatform: CoreStart) => (
}

if (!get(newPlatform.application.capabilities, route.requireUICapability)) {
$injector.get('kbnUrl').change('/home');
$injector.get('$location').url('/home');
event.preventDefault();
}
}
Expand Down

0 comments on commit 8bfd6f7

Please sign in to comment.