TagSpaces is an offline, open source, document manager with tagging support
Moving the location menu
Ilian Sapundshievc81493372a14
diff --git a/app/components/FolderContainer.js b/app/components/FolderContainer.jsindex 80ab8b33a..886217898 100644--- a/app/components/FolderContainer.js+++ b/app/components/FolderContainer.js@@ -25,7 +25,7 @@ import Button from '@material-ui/core/Button';import MoreVertIcon from '@material-ui/icons/MoreVert';import { withStyles } from '@material-ui/core/styles';import { HotKeys } from 'react-hotkeys';-import LocationMenu from './LocationMenu';+import LocationMenu from './menus/LocationMenu';import DirectoryMenu from './menus/DirectoryMenu';import i18n from '../services/i18n';import { getPerspectives } from '../reducers/settings';diff --git a/app/components/LocationMenu.js b/app/components/menus/LocationMenu.jssimilarity index 96%rename from app/components/LocationMenu.jsrename to app/components/menus/LocationMenu.jsindex 2883382e8..9d302ad67 100644--- a/app/components/LocationMenu.js+++ b/app/components/menus/LocationMenu.js@@ -30,11 +30,11 @@ import ListSubHeader from '@material-ui/core/ListSubheader';import { withTheme } from '@material-ui/core/styles';import Button from '@material-ui/core/Button';import ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';-import i18n from '../services/i18n';-import { getLocations, type Location, locationType } from '../reducers/locations';+import i18n from '../../services/i18n';+import { getLocations, type Location, locationType } from '../../reducers/locations';import {actions as AppActions,- getCurrentLocationId } from '../reducers/app';+ getCurrentLocationId } from '../../reducers/app';type Props = {currentLocationId: string | null,