TagSpaces is an offline, open source, document manager with tagging support
fix issue: if the new location has no subDirs
Stanimir Marinov1ef022c38f07
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.jsindex 5926b3ee6..2f19e51b2 100644--- a/app/components/LocationManager.js+++ b/app/components/LocationManager.js@@ -168,6 +168,10 @@ class LocationManager extends React.Component<Props, State> {dirs: dirsTree});}+ } else {+ this.setState({+ dirs: {}+ });}return true;})