Skip to content

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

fix

Stanimir Marinov4d06368a0b9b
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.js
index 2f19e51b2..4d8e0c602 100644
--- a/app/components/LocationManager.js
+++ b/app/components/LocationManager.js
@@ -168,7 +168,7 @@ class LocationManager extends React.Component<Props, State> {
dirs: dirsTree
});
}
- } else {
+ } else if (location.path === undefined) { // if is Location
this.setState({
dirs: {}
});