1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

fix: 🐛 Nessun valore nella cella se è stata definita come oggetto

This commit is contained in:
Maicol Battistini
2022-01-07 12:50:16 +01:00
parent 9bc8802548
commit 91fb29bd22

View File

@@ -137,7 +137,7 @@ export class RecordsPage extends Page {
{collect(this.columns)
.map((column, index_: string) => (
<TableCell key={index_}>
{this.getModelValue(instance, (typeof column === 'object' ? column.id : index_) as string)}
{this.getModelValue(instance, (column as ColumnT).id ?? index_)}
</TableCell>
))
.toArray()}