| borgbutler-webapp/src/components/views/archives/FileListPanel.jsx | ●●●●● patch | view | raw | blame | history |
borgbutler-webapp/src/components/views/archives/FileListPanel.jsx
@@ -42,6 +42,10 @@ } handleURLChange = location => { if (location.state && location.state.noReFetch) { return; } // Replacing matched URL(archiveId, repoId) and removing trailing slashes this.changeCurrentDirectory(location.pathname.replace(this.props.match.url, '').replace(/^\/|\/$/g, '')); }; @@ -108,7 +112,7 @@ } if (newUrl !== this.props.location.pathname) { this.props.history.push(newUrl); this.props.history.push(newUrl, {noReFetch: true}); } } this.setState({