TagSpaces is an offline, open source, document manager with tagging support
minor fixes
Stanimir Marinovb34fd8dc64b9
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.jsindex f2eb62a12..bf800f791 100644--- a/app/components/LocationManager.js+++ b/app/components/LocationManager.js@@ -297,7 +297,7 @@ class LocationManager extends React.Component<Props, State> {const len = children.length;for (let i = 0; i < len; i++) {if (path === children[i].path) {- propPath = propPath + stackPath + '.' + i + '.children';+ propPath = propPath + '.' + (stackPath ? stackPath + '.' : '') + i + '.children';const copyObj = [...this.state.dirs[uuid]];let schema = copyObj; // a moving reference to internal objects within obj@@ -315,7 +315,7 @@ class LocationManager extends React.Component<Props, State> {stack.push({ // pass args via object or arrayelement: children[i],depth: depth + 1,- propPath: (stackPath ? '.' + stackPath : '') + '.' + i + '.children'+ propPath: (stackPath ? stackPath + '.' : '') + i + '.children'});}}