|
|
|
@@ -20,22 +20,22 @@ const ScrapeRequest = ({ scrape, index }) => { |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<p> |
|
|
|
</p><h3>#{index} {scrape.location}</h3> |
|
|
|
</p><h3><Link to={{ |
|
|
|
pathname: SCRAPE_RESULTS_PAGE, |
|
|
|
id: scrape._id |
|
|
|
}}>#{index} {scrape.location}</Link></h3> |
|
|
|
<span className="text-muted">Count {scrape.count} +</span> |
|
|
|
<span> | </span> |
|
|
|
<span className="text-muted">{t('scrapeRequest.EstimatedTime')} {(new Date(scrape.estimate)).toLocaleString()}</span> |
|
|
|
<span> | </span> |
|
|
|
{t('scrapeRequest.ViewScrape')} <Link to={{ |
|
|
|
pathname: SCRAPE_RESULTS_PAGE, |
|
|
|
id: scrape._id |
|
|
|
}}>{scrape.sourceUrl}</Link> |
|
|
|
{t('scrapeRequest.ViewScrape')} <a href={scrape.sourceUrl}>{scrape.sourceUrl}</a> |
|
|
|
<p></p> |
|
|
|
<p> |
|
|
|
</p> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
{scrape.filters.map(element => ( |
|
|
|
element.value && <span key={element.name} className="badge bg-primary m-1">{element.name}</span> |
|
|
|
element.value && <span key={element.value} className="badge bg-primary m-1">{element.value}</span> |
|
|
|
))} |
|
|
|
</td> |
|
|
|
<td> |