DocsGPT
@@ -275,7 +266,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { >
@@ -314,7 +305,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
)}
@@ -365,6 +356,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
{
setUploadModalState('ACTIVE');
if (isMobile) {
@@ -392,7 +384,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
>
@@ -414,7 +406,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
>
@@ -427,7 +419,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
>
@@ -440,7 +432,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
>
@@ -457,18 +449,13 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
>
Sources
++ {t('conversation.sources.title')} +
{`View ${ - sources?.length ? sources.length - 3 : 0 - } more`}
++ {t('conversation.sources.view_more', { + count: sources?.length ? sources.length - 3 : 0, + })} +
Answer
++ {t('conversation.answer')} +
@@ -239,7 +253,7 @@ export default function ConversationTile({
>
{
@@ -40,7 +41,11 @@ function AddPrompt({ Add your custom prompt and save it to DocsGPT
@@ -115,13 +126,17 @@ function EditPrompt({ Edit your custom prompt and save it to DocsGPT
{t('settings.apiKeys.name')} | -+ | + {t('settings.apiKeys.name')} + | +{t('settings.apiKeys.sourceDoc')} | -{t('settings.apiKeys.key')} | -+ | + {t('settings.apiKeys.key')} + | +
-
diff --git a/frontend/src/settings/Documents.tsx b/frontend/src/settings/Documents.tsx
index 8e68f226e..cdde16fed 100644
--- a/frontend/src/settings/Documents.tsx
+++ b/frontend/src/settings/Documents.tsx
@@ -54,10 +54,10 @@ const Documents: React.FC+ Filter by chatbot
+
= ({
onChange={(e) => {
setSearchTerm(e.target.value);
setCurrentPage(1);
- // refreshDocs(sortField, 1, rowsPerPage);
- // do not call refreshDocs here the state is async
- // so it will not have the updated value
- }} // Handle search input change
+ }}
/>
+
|
---|