This commit is contained in:
Feross Aboukhadijeh
2019-07-05 14:26:38 -07:00
parent 46d50ccda2
commit 9ed3533225
9 changed files with 23 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ class PathSelector extends React.Component {
handleClick () {
const opts = Object.assign({
defaultPath: this.props.value,
properties: [ 'openFile', 'openDirectory' ]
properties: ['openFile', 'openDirectory']
}, this.props.dialog)
remote.dialog.showOpenDialog(