| borgbutler-webapp/src/components/views/archives/FileListPanel.jsx | ●●●●● patch | view | raw | blame | history |
borgbutler-webapp/src/components/views/archives/FileListPanel.jsx
@@ -96,8 +96,9 @@ .then(json => { let currentDirectory = this.state.filter.currentDirectory; const fileList = json; if (fileList && fileList.length > 0) { if (fileList && fileList.length > 0 && fileList[0] && fileList[0].path) { currentDirectory = fileList[0].path.replace(fileList[0].displayPath, ''); console.log("path=" + fileList[0].path + ", displayPath=" + fileList[0].displayPath + "-> currentDirectory=" + currentDirectory) } this.setState({ isFetching: false,