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

fix(FilePicker): On button click also emit the current directory if allowPickDirectory is set to true #1121

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Nov 23, 2023

Basically also add the current directory as selected node if allowed, otherwise the filepicker builder with reject the promise even if you click "move to" button on the file picker when selecting a folder.

…allowPickDirectory` is set to true

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added bug Something isn't working 3. to review labels Nov 23, 2023
@susnux susnux requested review from artonge and Pytal November 23, 2023 21:01
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (741a6ee) 30.61% compared to head (90f5dfe) 30.61%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1121   +/-   ##
=======================================
  Coverage   30.61%   30.61%           
=======================================
  Files          16       16           
  Lines        1225     1225           
  Branches       60       60           
=======================================
  Hits          375      375           
  Misses        792      792           
  Partials       58       58           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Pytal Pytal merged commit 3b27291 into main Nov 23, 2023
11 checks passed
@Pytal Pytal deleted the fix/filepicker-also-emit-nodes-on-btn branch November 23, 2023 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: move or copy operation fails
2 participants