1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 05:39:59 +00:00

repair merge bug

This commit is contained in:
shanshuirenjia
2020-04-01 11:35:40 +08:00
parent e9f3f8ed2e
commit 2ecb8de414
6 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ import { seafileAPI } from '../../utils/seafile-api';
import { gettext, siteRoot, username } from '../../utils/constants';
import SearchResultItem from './search-result-item';
import More from '../more';
import { Utils } from '../../utils/utils';
import toaster from '../toast';
const propTypes = {
repoID: PropTypes.string,
@@ -118,7 +120,7 @@ class Search extends Component {
toaster.danger(errMessage);
});
} else {
editorUtilities.searchFiles(queryData,cancelToken).then(res => {
seafileAPI.searchFiles(queryData,cancelToken).then(res => {
if (!res.data.total) {
_this.setState({
resultItems: [],