mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 12:43:42 +08:00
Add page to search chat history
This commit is contained in:
@@ -250,6 +250,15 @@ export function SideBar(props: { className?: string }) {
|
||||
onClick={() => setShowPluginSelector(true)}
|
||||
shadow
|
||||
/>
|
||||
<IconButton
|
||||
icon={<DiscoveryIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.SearchChat.Name}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() =>
|
||||
navigate(Path.SearchChat, { state: { fromHome: true } })
|
||||
}
|
||||
shadow
|
||||
/>
|
||||
</div>
|
||||
{showPluginSelector && (
|
||||
<Selector
|
||||
|
||||
Reference in New Issue
Block a user