Feature/1217 (#12087)

### What problem does this PR solve?

feature: Complete metadata functionality

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-12-22 17:35:12 +08:00
committed by GitHub
parent 993bf7c2c8
commit 51b12841d6
9 changed files with 310 additions and 68 deletions

View File

@ -204,7 +204,8 @@ export const ManageValuesModal = (props: IManageValuesProps) => {
</div>
</div>
)}
{metaData.restrictDefinedValues && (
{((metaData.restrictDefinedValues && isShowValueSwitch) ||
!isShowValueSwitch) && (
<div className="flex flex-col gap-2">
<div className="flex justify-between items-center">
<div>{t('knowledgeDetails.metadata.values')}</div>