Skip to content

Commit

Permalink
add x-frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Janderson Souza Matias authored and Janderson Souza Matias committed Jun 5, 2024
1 parent 4a1f0ad commit 38ad02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/assets/images/logos/CoachLogo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN" />
<title>Coach</title>
</head>
<body>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/Schools/SchoolList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ const SchoolList: React.FC<Props> = ({ 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),
},
{
Expand Down

0 comments on commit 38ad02d

Please sign in to comment.