add titles to lang abbrs

closes #422
This commit is contained in:
Collin M. Barrett 2018-09-03 11:41:17 -05:00
parent c9945d99b0
commit 9c685d4afa

View file

@ -115,8 +115,8 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
.map((e: any) => e.name.concat(e.iso6391)).join().toUpperCase()
.includes(filter.value.toUpperCase()),
sortMethod: (a: any, b: any) => a.join().toUpperCase() > b.join().toUpperCase() ? 1 : -1,
Cell: (cell: any) =>
<div>{cell.value.map((e: any) => e.iso6391).join(", ")}</div>,
Cell: (cell: any) => <div className="fl-tag-container">{cell.value.map(
(e: any) => <span className="badge badge-secondary" title={e.name}>{e.iso6391}</span>)}</div>,
style: { whiteSpace: "inherit" },
width: 60,
headerClassName: "d-none d-md-block",