1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 03:47:09 +00:00

fix some wrong text (#7070)

* fix some wrong text

* fix some wrong text
This commit is contained in:
Michael An
2024-11-20 20:37:46 +08:00
committed by GitHub
parent f07f357a86
commit 5d31590e9b
36 changed files with 129 additions and 127 deletions

View File

@@ -85,7 +85,7 @@ class App extends Component {
let splitUrlArray = window.location.hash.split('/');
let repoID = splitUrlArray[splitUrlArray.length - 2];
let url = siteRoot + 'library/' + repoID + '/';
navigate(url, { repalce: true });
navigate(url, { replace: true });
}
};
@@ -144,7 +144,7 @@ class App extends Component {
if (selectedItem.is_dir === true) {
this.setState({ currentTab: '', pathPrefix: [] });
let url = siteRoot + 'library/' + selectedItem.repo_id + '/' + selectedItem.repo_name + selectedItem.path;
navigate(url, { repalce: true });
navigate(url, { replace: true });
} else {
let url = siteRoot + 'lib/' + selectedItem.repo_id + '/file' + Utils.encodePath(selectedItem.path);
let isWeChat = Utils.isWeChat();