Skip to content
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

Macro: #3537 - default presets do not appear back after cleaning search field #3593

Conversation

chgayane
Copy link
Collaborator

@chgayane chgayane commented Nov 20, 2023

How the feature works? / How did you fix the issue?

(Screenshots, videos, or GIFs, if applicable)

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@chgayane chgayane linked an issue Nov 20, 2023 that may be closed by this pull request
@chgayane chgayane changed the title Macro: #3537 - after deleting search presets apear backMacro: default presets do not appear back after cleaning search field Macro: #3537 - default presets do not appear back after cleaning search field Nov 20, 2023
@chgayane chgayane marked this pull request as ready for review November 20, 2023 10:53
@@ -47,7 +49,7 @@ export const RnaBuilder = ({ libraryName }) => {
useEffect(() => {
const defaultPresets: IRnaPreset[] = getDefaultPresets(monomers);
dispatch(setDefaultPresets(defaultPresets));
}, [dispatch]);
}, [dispatch, serachValue]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in word "search"

- fixed type in searchValue variable
@@ -65,7 +65,7 @@ const Menu = ({

return (
<MenuContext.Provider value={context}>
<MenuLayout data-testId={testId}>
<MenuLayout data-testid={testId}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed the same line in my branch =)

@rrodionov91 rrodionov91 merged commit 7c69b03 into master Nov 20, 2023
5 checks passed
@rrodionov91 rrodionov91 deleted the 3537-macro-default-presets-do-not-appear-back-after-cleaning-search-field branch November 20, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macro: default presets do not appear back after cleaning search field
3 participants