From ef6479f34fcaf30f3718e319a5c3efd053236ff1 Mon Sep 17 00:00:00 2001 From: Maicol Battistini Date: Thu, 30 Sep 2021 16:33:53 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Controlla=20se=20la=20col?= =?UTF-8?q?onna=20=C3=A8=20una=20stringa=20o=20un=20oggetto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/Components/Pages/RecordsPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Pages/RecordsPage.jsx b/resources/js/Components/Pages/RecordsPage.jsx index 01c8038b2..27ae65211 100644 --- a/resources/js/Components/Pages/RecordsPage.jsx +++ b/resources/js/Components/Pages/RecordsPage.jsx @@ -37,7 +37,7 @@ export default class RecordsPage extends Page { return collect(this.columns) .map( (column: ColumnT | string, id: string) => ( - + {typeof column === 'string' ? column : column.title} )