mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
fix some wrong text (#7070)
* fix some wrong text * fix some wrong text
This commit is contained in:
@@ -48,7 +48,7 @@ class RepoSnapshot extends React.Component {
|
||||
onSearchedClick = (selectedItem) => {
|
||||
if (selectedItem.is_dir === true) {
|
||||
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 newWindow = window.open('about:blank');
|
||||
|
Reference in New Issue
Block a user