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:
@@ -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()}
|
||||
|
Reference in New Issue
Block a user