This commit is contained in:
MartinBraquet
2025-09-14 22:36:16 +02:00
parent a342d5d5ad
commit d802eb3f28

View File

@@ -114,8 +114,7 @@ function formatFilters(filters: Partial<FilterFieldsWithLocation>): ReactElement
stringValue = str.charAt(0).toUpperCase() + str.slice(1)
}
let display: ReactElement
display = key === 'name'
const display: ReactElement = key === 'name'
? <i>{stringValue as string}</i>
: <>{stringValue}</>