TagSpaces is an offline, open source, document manager with tagging support
remove SelectDirectoryDialog action
Stanimir Marinov23755b5b5a19
diff --git a/app/components/EntryProperties.js b/app/components/EntryProperties.jsindex c60e4d000..12f18d240 100644--- a/app/components/EntryProperties.js+++ b/app/components/EntryProperties.js@@ -20,8 +20,8 @@import React, { Component } from 'react';import uuidv1 from 'uuid';import marked from 'marked';-import { bindActionCreators } from 'redux';-import { connect } from 'react-redux';+// import { bindActionCreators } from 'redux';+// import { connect } from 'react-redux';import { withStyles } from '@material-ui/core/styles';import Grid from '@material-ui/core/Grid';import FormControl from '@material-ui/core/FormControl';@@ -43,7 +43,7 @@ import { Pro } from '../pro';import TagsSelect from './TagsSelect';import TransparentBackground from './TransparentBackground';import { replaceThumbnailURLPromise } from '../services/thumbsgenerator';-import { actions as AppActions } from '../reducers/app';+// import { actions as AppActions } from '../reducers/app';const FileThumbChooseDialog = Pro && Pro.UI ? Pro.UI.FileThumbChooseDialog : false;@@ -851,14 +851,14 @@ class EntryProperties extends Component<Props, State> {onClose={this.toggleThumbFilesDialog}selectedFile={thumbPath}setThumb={this.setThumb}- showSelectDirectoryDialog={this.props.showSelectDirectoryDialog}+ // showSelectDirectoryDialog={this.props.showSelectDirectoryDialog}/></div>);}}-function mapActionCreatorsToProps(dispatch) {+/* function mapActionCreatorsToProps(dispatch) {return bindActionCreators({showSelectDirectoryDialog: AppActions.showSelectDirectoryDialog}, dispatch);@@ -866,4 +866,6 @@ function mapActionCreatorsToProps(dispatch) {export default withStyles(styles)(connect(undefined, mapActionCreatorsToProps)(EntryProperties)-);+); */++export default withStyles(styles)(EntryProperties);