diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-02 19:03:06 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-02 19:03:06 +0200 |
| commit | 77e2b579bc42b6c36f82dba246561293049e73f8 (patch) | |
| tree | 2ae0a2474dcc84f43e6753a0718866a7f0e75375 /scraper/client/common/table.component.js | |
| parent | 4f9d68e6b546559bd80c93b2de3a42f554589d24 (diff) | |
adding chart... whole verify app working nicer
Diffstat (limited to 'scraper/client/common/table.component.js')
| -rw-r--r-- | scraper/client/common/table.component.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scraper/client/common/table.component.js b/scraper/client/common/table.component.js index 96b62835..121c9841 100644 --- a/scraper/client/common/table.component.js +++ b/scraper/client/common/table.component.js @@ -118,6 +118,9 @@ export function TableCell({ value }) { value = <TableObject nested tag={''} object={value} /> } } + if (value && typeof value === 'string' && value.indexOf('http') === 0) { + value = <a href={value} target="_blank" rel="nofollower noopener">{value}</a> + } return ( <td>{value}</td> ) |
