-
Notifications
You must be signed in to change notification settings - Fork 52
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
fix: selecting all pages with advanced/detail search corrected #2215
base: v1.10
Are you sure you want to change the base?
Conversation
for example with the engine set to ^18.19.1 in package.json: avoid selecting 20.18. instead of latest 18.xx * also relax asdf manage nodejs version
|
||
if (range == 'all') { | ||
if (this.state.currentSearchSelection && elements[type + "s"].ids) { |
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.
relevant change
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.
Just to be sure, the only behavioral change in this file's diff is the removal of this.state.currentSearchSelection
from the guard clause? For the future please change behavior and formatting in separate commits.
LCOV of commit
|
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.
If this is a bug fix, please add a test that replicates (or at least approximates) the bug and demonstrates how this PR fixes it.
|
||
if (range == 'all') { | ||
if (this.state.currentSearchSelection && elements[type + "s"].ids) { |
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.
Just to be sure, the only behavioral change in this file's diff is the removal of this.state.currentSearchSelection
from the guard clause? For the future please change behavior and formatting in separate commits.
this.state.currentSearchSelection is not set in detail / advanced search
therefore condition removed; the other condition is sufficient
closes https://github.com/ComPlat/chemotion/issues/217