Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing issue with showSelectDirectoryDialog

Ilian Sapundshiev505afa089672
diff --git a/app/components/dialogs/CreateFileDialog.js b/app/components/dialogs/CreateFileDialog.js
index 0cc0bc588..171862e19 100644
--- a/app/components/dialogs/CreateFileDialog.js
+++ b/app/components/dialogs/CreateFileDialog.js
@@ -69,6 +69,7 @@ const styles = theme => ({
type Props = {
open: boolean,
onClose: () => void,
+ showSelectDirectoryDialog: () => void,
selectedFilePath: string,
createDirectory: (directoryPath: string) => void,
createFileAdvanced: (targetPath: string, fileName: string, content: string, fileType: string) => void,
@@ -339,6 +340,7 @@ class CreateFileDialog extends React.Component<Props, State> {
function mapActionCreatorsToProps(dispatch) {
return bindActionCreators({
createFileAdvanced: AppActions.createFileAdvanced,
+ showSelectDirectoryDialog: AppActions.showSelectDirectoryDialog,
...TaggingActions
}, dispatch);
}