TagSpaces is an offline, open source, document manager with tagging support
TSN671 - Add show folders in the Mapique perspective, allowing navigation in sub directories. (#1444)
Stanimir2948f95ce8a0
diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex 85b38c4fe..7bd7625f9 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -569,5 +569,6 @@"noTileServersTitle": "No map tile server!","addTileServersHelp": "Further map tile servers can be found in the OpenStreetMap wiki","addTileServersSettings": "In order to see the map, add at least one map tile server in the settings of the app",+ "showFolderMapControl": "Show Folder Map Control","-": "-"}diff --git a/app/reducers/app.ts b/app/reducers/app.tsindex b021c5472..25da0556d 100644--- a/app/reducers/app.ts+++ b/app/reducers/app.ts@@ -270,9 +270,10 @@ export default (state: any = initialState, action: any) => {currentDirectoryColor: action.directoryMeta? action.directoryMeta.color || '': '',- currentDirectoryPerspective: action.directoryMeta- ? action.directoryMeta.perspective- : undefined,+ currentDirectoryPerspective:+ action.directoryMeta && action.directoryMeta.perspective+ ? action.directoryMeta.perspective+ : state.currentDirectoryPerspective,currentDirectoryPath: directoryPath,isLoading: action.showIsLoading || false};