Skip to content

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

disabling clearing perspective before loading

Ilian Sapundshiev4bec8a7456d7
diff --git a/app/reducers/app.js b/app/reducers/app.js
index 41dae4925..66bc01fa4 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -570,7 +570,8 @@ export const actions = {
console.time('listDirectoryPromise');
const { settings } = getState();
window.walkCanceled = false;
- dispatch(actions.loadDirectorySuccessInt(directoryPath, [], true));
+ // Uncommenting the following line will make all content to be cleared before loading new dir content
+ // dispatch(actions.loadDirectorySuccessInt(directoryPath, [], true));
dispatch(actions.showNotification(i18n.t('core:loading'), 'info', false));
PlatformIO.listDirectoryPromise(directoryPath, false)
.then(results => {