fix: Update dbmsType to "VARCHAR" for email in data[].

This commit is contained in:
Gauthier Daniels 2025-04-22 18:39:06 +02:00
parent 4e8ed64937
commit ebe1163ff3

View File

@ -76,7 +76,7 @@ const data: DataTable[] = [
{ {
name: "Adresse e-mail", name: "Adresse e-mail",
logical: "email", logical: "email",
dbmsType: "VARCHAR[]", dbmsType: "VARCHAR",
type: "Alphanumérique", type: "Alphanumérique",
length: 50, length: 50,
dbmsLength: 50, dbmsLength: 50,
@ -275,8 +275,10 @@ export default function DictionnaryTable(props: DictionnaryTableProps) {
</thead> </thead>
<tbody> <tbody>
<For <For
each={table.columns.filter( each={table.columns.filter((column) =>
(column) => props.isTechnical || !column.hiddenInBasic, props.isTechnical
? !column.hiddenInTechnical
: !column.hiddenInBasic,
)} )}
> >
{(column) => ( {(column) => (