From 38ad02d45dff3c092a13dda344be6df5fefa9a8e Mon Sep 17 00:00:00 2001 From: Janderson Souza Matias Date: Wed, 5 Jun 2024 19:39:11 -0300 Subject: [PATCH] add x-frame --- index.html | 1 + src/pages/Schools/SchoolList/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index bdbd003..4acb00e 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + Coach diff --git a/src/pages/Schools/SchoolList/index.tsx b/src/pages/Schools/SchoolList/index.tsx index 99e0a86..f861681 100644 --- a/src/pages/Schools/SchoolList/index.tsx +++ b/src/pages/Schools/SchoolList/index.tsx @@ -35,18 +35,18 @@ const SchoolList: React.FC = ({ schools, handleDelete, handleEdit }) => { data={schools} columns={[ { - renderColumn: (item: ISchool) => item.emis_number, title: t('school.table.emis_number'), + renderColumn: (item: ISchool) => item.emis_number, getOrderProp: (item: ISchool) => item.emis_number, }, { - renderColumn: (item: ISchool) => item.name, title: t('school.table.name'), + renderColumn: (item: ISchool) => item.name, getOrderProp: (item: ISchool) => item.name, }, { - renderColumn: (item: ISchool) => formatRegionPath(item.region), title: t('school.table.region'), + renderColumn: (item: ISchool) => formatRegionPath(item.region), getOrderProp: (item: ISchool) => formatRegionPath(item.region), }, {