mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 12:39:27 +08:00
Fix: Switching templates results in a few extra data entries in the entity specification. (#17514)
This commit is contained in:
@@ -113,7 +113,7 @@ export function TemplateConfiguration({
|
||||
return (
|
||||
sectionName === activeSectionTab && (
|
||||
<SectionFieldGrid
|
||||
key={activeFieldsPath}
|
||||
key={`${activeFieldsPath}-${kind}`}
|
||||
fieldsPath={activeFieldsPath}
|
||||
sectionName={sectionName}
|
||||
onOpenAddField={handleOpenAddField}
|
||||
@@ -125,6 +125,7 @@ export function TemplateConfiguration({
|
||||
[
|
||||
activeFieldsPath,
|
||||
activeSectionTab,
|
||||
kind,
|
||||
handleOpenAddField,
|
||||
handleOpenEditField,
|
||||
],
|
||||
|
||||
@@ -106,7 +106,7 @@ export function TemplateConfiguration({
|
||||
return (
|
||||
sectionName === activeSectionTab && (
|
||||
<SectionFieldGrid
|
||||
key={activeFieldsPath}
|
||||
key={`${activeFieldsPath}-${kind}`}
|
||||
fieldsPath={activeFieldsPath}
|
||||
sectionName={sectionName}
|
||||
onOpenAddField={handleOpenAddField}
|
||||
@@ -118,6 +118,7 @@ export function TemplateConfiguration({
|
||||
[
|
||||
activeFieldsPath,
|
||||
activeSectionTab,
|
||||
kind,
|
||||
handleOpenAddField,
|
||||
handleOpenEditField,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user