mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Fixing the unmounting jobs list react component on page change (#29980)
This commit is contained in:
parent
ddd5dc33e9
commit
f351efa7dc
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ module.directive('jobsPage', function () {
|
|||
</I18nContext>,
|
||||
element[0]
|
||||
);
|
||||
|
||||
element.on('$destroy', () => {
|
||||
ReactDOM.unmountComponentAtNode(element[0]);
|
||||
scope.$destroy();
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue