Skip to content

2.0.1 – Fix: Navigation issue from AI Content tab (Angular 19)

Latest

Choose a tag to compare

@safac1 safac1 released this 09 Nov 08:12
· 18 commits to features/LMS-2128-upgrade-web-report-package-to-angular-19 since this release

When entering a web report and being on the AI Content tab, clicking a button that navigates to another page in the same tab caused the user to remain stuck inside the web report.

This occurred in Angular 19, likely due to updated internal navigation behavior.

Technical details:
The onDestroy() method in the explainable-ai-result-container component was updating reportViewMode$, which unintentionally triggered a same-page navigation event.

Fix:
Adjusted the component cleanup logic to prevent unnecessary reportViewMode$ updates during destruction, restoring normal navigation flow between pages in the same tab.

Full Changelog: v2.0.0...v2.0.1