-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-7413] fix(8560): refreshing reports pages displays empty pages #8700
[PM-7413] fix(8560): refreshing reports pages displays empty pages #8700
Conversation
Thank you for your contribution! We've added this to our internal Community PR board for review. |
I fixed it this way, but I think it could be resolved differently with resolvers, defined at the routes level, which blocks access to the page till all necessary data is fetched; I did not see it implemented elsewhere in the repo. |
The main operational change here is to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @abarghoud !
This change seems to fix the issue, I'm passing it to QA testing.
@abarghoud there are some changes on the reports files that are conflicting with the changes on this PR. If you can't, could you give me permission to push into your repository so that I can fix them? thank you! |
# Conflicts: # apps/web/src/app/admin-console/organizations/tools/exposed-passwords-report.component.ts # apps/web/src/app/admin-console/organizations/tools/inactive-two-factor-report.component.ts # apps/web/src/app/admin-console/organizations/tools/reused-passwords-report.component.ts # apps/web/src/app/admin-console/organizations/tools/unsecured-websites-report.component.ts # apps/web/src/app/admin-console/organizations/tools/weak-passwords-report.component.ts # apps/web/src/app/tools/reports/pages/cipher-report.component.ts # apps/web/src/app/tools/reports/pages/exposed-passwords-report.component.spec.ts # apps/web/src/app/tools/reports/pages/exposed-passwords-report.component.ts # apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.spec.ts # apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts # apps/web/src/app/tools/reports/pages/reused-passwords-report.component.spec.ts # apps/web/src/app/tools/reports/pages/reused-passwords-report.component.ts # apps/web/src/app/tools/reports/pages/unsecured-websites-report.component.spec.ts # apps/web/src/app/tools/reports/pages/unsecured-websites-report.component.ts # apps/web/src/app/tools/reports/pages/weak-passwords-report.component.spec.ts # apps/web/src/app/tools/reports/pages/weak-passwords-report.component.ts
@aj-rosado Done ;) |
Thank you for your contribution @abarghoud ! QA has approved it and has been merged into main! This will be part of the next release ! 🎉 |
Type of change
Objective
Resolved #8560, ciphers data are lost when refreshing reports pages
Code changes
syncService.fullSync(false)
in theload()
methodsyncService.fullSync(false)
is calledBefore you submit