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 path selector value when path is not defined #1653

Closed
wants to merge 1 commit into from

Conversation

hicom150
Copy link
Contributor

In PathSelector component value is mapped to electron's showOpenDialog defaultPath property that should be a valid string.

In preferences-page.js in some cases that value was passed as null and causes an error in showOpenDialog preventing from displaying it.

This PR fixes the issue passing '' as a default value when no there is no valid path.

@feross
Copy link
Member

feross commented Aug 18, 2019

Fixed by #1498

@feross feross closed this Aug 18, 2019
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.

2 participants