1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

search file use ai (#5690)

* search file use ai

* Feat: optimize code

* feat: update code

---------

Co-authored-by: er-pai-r <18335219360@163.com>
This commit is contained in:
JoinTyang
2023-10-21 11:38:12 +08:00
committed by GitHub
parent 0a09db3fa4
commit 1a6fe7b9cf
9 changed files with 352 additions and 67 deletions

View File

@@ -26,6 +26,8 @@ class CommonToolbar extends React.Component {
repoID={repoID}
placeholder={this.props.searchPlaceholder || gettext('Search files')}
onSearchedClick={this.props.onSearchedClick}
isLibView={this.props.isLibView}
repoName={repoName}
/>
)}
{this.props.isLibView && !isPro &&