Skip to content

TagSpaces is an offline, open source, document manager with tagging support

cleaning up

Ilian Sapundshieva9d1286474f2
diff --git a/app/reducers/app.js b/app/reducers/app.js
index ce74c69d2..a942a45dd 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -923,10 +923,6 @@ export const actions = {
Pro.Watcher.stopWatching();
}
- /* if (Pro) { // && s3location
- PlatformIO.enableObjectStoreSupport({});
- } */
-
locations.map(location => {
if (location.uuid === locationId) {
if (location.type === locationType.TYPE_CLOUD) {
@@ -934,7 +930,6 @@ export const actions = {
} else if (location.type === locationType.TYPE_LOCAL) {
PlatformIO.disableObjectStoreSupport();
}
- // location.paths = ['test/']; // TODO remove
dispatch(actions.setReadOnlyMode(location.isReadOnly || false));
dispatch(actions.setCurrentLocationId(location.uuid));
dispatch(actions.loadDirectoryContent(location.paths[0]));