TagSpaces is an offline, open source, document manager with tagging support
fixing opening of the default location
Ilian Sapundshiev922d90216c38
diff --git a/app/containers/Root.js b/app/containers/Root.jsindex 9a47e754f..c5d69371d 100644--- a/app/containers/Root.js+++ b/app/containers/Root.js@@ -46,7 +46,7 @@ function onBeforeLift(store) {const state = store.getState();const defaultLocationId = getDefaultLocationId(state);if (defaultLocationId && defaultLocationId.length > 0) {- store.dispatch(AppActions.openLocation(defaultLocationId));+ store.dispatch(AppActions.openLocationById(defaultLocationId));}if (getCheckForUpdateOnStartup(state)) {store.dispatch(SettingsActions.checkForUpdate());