TagSpaces is an offline, open source, document manager with tagging support
cleaning up
Ilian Sapundshieveeac916b760b
diff --git a/app/components/FolderContainer.js b/app/components/FolderContainer.jsindex 25f7c9a20..d69a0001c 100644--- a/app/components/FolderContainer.js+++ b/app/components/FolderContainer.js@@ -47,7 +47,6 @@ import {getLastSelectedEntry,getSearchResultCount,isReadOnlyMode,- isLocationMenuOpened} from '../reducers/app';import TaggingActions from '../reducers/tagging-actions';import { type Tag } from '../reducers/taglibrary';@@ -159,7 +158,7 @@ type Props = {showNotification: () => void,isLocationMenuOpened: boolean,locationMenu: () => void,- toggleLocationMenu: () => void+ // toggleLocationMenu: () => void};type State = {@@ -278,13 +277,6 @@ class FolderContainer extends React.Component<Props, State> {});};- handleLocationMenu = (event: Object) => {- this.setState({- locationMenu: true,- locationChooserMenuAnchorEl: event.currentTarget- });- };-openDirectoryMenu = (event: Object) => {this.setState({directoryContextMenuOpened: true,@@ -387,6 +379,8 @@ class FolderContainer extends React.Component<Props, State> {<LocationMenuopen={this.state.locationChooserMenuOpened}toggleLocationChooser={this.toggleLocationChooser}+ menuAnchorEl={this.state.locationChooserMenuAnchorEl}+/><div className={classes.flexMiddle} data-tid="entriesFound">{this.props.searchResultCount > 0 && (diff --git a/app/components/LocationMenu.js b/app/components/LocationMenu.jsindex 3bfd89303..c60eb37b4 100644--- a/app/components/LocationMenu.js+++ b/app/components/LocationMenu.js@@ -47,13 +47,13 @@ class LocationMenu extends React.Component { // <Props, State> {// this.props.toggleLocationChooser();};- // anchorEl={this.state.locationChooserMenuAnchorEl}render() {return (<Menuid="simple-menu"open={this.props.locationChooserMenuOpened}+ anchorEl={this.props.menuAnchorEl}onClose={this.props.toggleLocationChooser}PaperProps={{style: {