TagSpaces is an offline, open source, document manager with tagging support
making the location swticher always visible
Ilian Sapundshiev4321dd984382
diff --git a/app/components/LocationMenu.js b/app/components/LocationMenu.jsindex 211d7664f..af1aa5486 100644--- a/app/components/LocationMenu.js+++ b/app/components/LocationMenu.js@@ -50,7 +50,7 @@ type State = {locationChooserMenuAnchorEl: null | Object};-class LocationMenu extends React.Component { // <Props, State>+class LocationMenu extends React.Component<Props, State> {state = {locationChooserMenuOpened: false,locationChooserMenuAnchorEl: null,@@ -87,12 +87,19 @@ class LocationMenu extends React.Component { // <Props, State>const { theme } = this.props;const { currentLocation } = this.state;return (- <div>+ <div style={{+ position: 'absolute',+ left: 0,+ paddingLeft: 1,+ backgroundColor: theme.palette.background.default,+ zIndex: 1+ }}+ ><Buttondata-tid="folderContainerLocationChooser"onClick={this.toggleLocationChooser}title={this.state.currentLocation && this.state.currentLocation.name}- style={{ marginLeft: -4 }}+ style={{ paddingRight: 0 }}>{this.state.currentLocation? <LocationIcon /> // this.state.currentLocation.name