-
Notifications
You must be signed in to change notification settings - Fork 4
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 item selection when clicking on chips #630
Conversation
Signed-off-by: Seddik Yengui <seddik.yengui@rte-france.com>
@@ -273,19 +273,26 @@ export function DirectoryItemSelector({ | |||
); | |||
|
|||
useEffect(() => { | |||
if (open) { | |||
updateRootDirectories(); | |||
if (open && expanded) { | |||
if (expanded) { |
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.
this should be always true, no need et recheck if expanded , if to delete
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.
done
…ons-ui into fix_item_selector
Signed-off-by: Seddik Yengui <seddik.yengui@rte-france.com>
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.
looks good to me
Quality Gate passedIssues Measures |
No description provided.