Skip to content

Commit

Permalink
Re-initialize Rollup Management userHasLeftApp state to fix bug with …
Browse files Browse the repository at this point in the history
…clearing URLjob deep-link when detail panel is closed. (elastic#24841) (elastic#24858)
  • Loading branch information
cjcenizal authored Oct 30, 2018
1 parent 52936b2 commit 60e89d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/plugins/rollup/public/crud_app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ routes.when(`${CRUD_APP_BASE_PATH}/:view?`, {
// e.g. to check license status per request.
setHttp($injector.get('$http'));

// If returning to the app, we'll need to reset this state.
setUserHasLeftApp(false);

$scope.$$postDigest(() => {
const appElement = document.getElementById('rollupJobsReactRoot');
renderReact(appElement);
Expand Down

0 comments on commit 60e89d1

Please sign in to comment.