-
Notifications
You must be signed in to change notification settings - Fork 95
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
Refactor of CPEs Listpage #2757
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2757 +/- ##
==========================================
+ Coverage 63.37% 63.39% +0.01%
==========================================
Files 1119 1119
Lines 28831 28868 +37
Branches 8148 8154 +6
==========================================
+ Hits 18272 18301 +29
- Misses 9562 9570 +8
Partials 997 997
Continue to review full report at Codecov.
|
gsa/src/web/pages/cpes/listpage.js
Outdated
const [, renewSessionTimeout] = useUserSessionTimeout(); | ||
|
||
// Powerfilter | ||
const fallbackFilter = Filter.fromString('sort-reverse=modified'); |
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.
Could you do me a favor and move this filter outside of the component function. currently it is re-created on every render which isn't necessary at all.
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
What:
Why:
How:
Checklist: