fix loading of users (#18969)

This commit is contained in:
Karan Hotchandani 2024-12-09 16:25:17 +05:30 committed by GitHub
parent 8acc891bec
commit fa9ee99458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View File

@ -459,10 +459,7 @@ const ClassificationDetails = forwardRef(
allowRename={!isSystemClassification}
allowSoftDelete={false}
canDelete={deletePermission && !isClassificationDisabled}
displayName={
currentClassification.displayName ??
currentClassification.name
}
displayName={getEntityName(currentClassification)}
editDisplayNamePermission={
editDisplayNamePermission && !isClassificationDisabled
}

View File

@ -282,6 +282,7 @@ export const SelectableList = ({
className="selectable-list-virtual-list"
data={uniqueOptions}
height={height}
itemHeight={40}
itemKey="id"
onScroll={onScroll}>
{(item) => (

View File

@ -682,8 +682,7 @@ const TagsPage = () => {
entity: t('label.tag'),
})
: t('message.adding-new-tag', {
categoryName:
currentClassification?.displayName ?? currentClassification?.name,
categoryName: getEntityName(currentClassification),
}),
[editTag, currentClassification]
);