김지은 4 months ago
parent
commit
284954d749
  1. 36
      src/components/flight/FlightApprovalsTable.js

36
src/components/flight/FlightApprovalsTable.js

@ -117,25 +117,25 @@ export default function FlightApprovalsTable(props) {
</Button>
);
}
},
{
name: '더보기',
selector: row => row.areaList,
center: true,
width: '120px',
cell: row => {
return row.areaList.length > 1 ? (
<Button
color='flat-dark'
// onClick={() =>}
>
{row.areaList.length} 보기
</Button>
) : (
'-'
);
}
}
// {
// name: '더보기',
// selector: row => row.areaList,
// center: true,
// width: '120px',
// cell: row => {
// return row.areaList.length > 1 ? (
// <Button
// color='flat-dark'
// // onClick={() =>}
// >
// {row.areaList.length}건 더 보기
// </Button>
// ) : (
// '-'
// );
// }
// }
];
const handlerOpenModal = (approval, fltElev, fltElevMax) => {

Loading…
Cancel
Save