Last change
on this file since 47f4eaf was 47f4eaf, checked in by Marko <Marko@…>, 20 months ago |
Final features implemented
|
-
Property mode
set to
100644
|
File size:
627 bytes
|
Rev | Line | |
---|
[47f4eaf] | 1 | import React, { Component } from 'react'
|
---|
| 2 |
|
---|
| 3 | export class ScrapperInfoComponent extends Component {
|
---|
| 4 | constructor(props) {
|
---|
| 5 | super(props)
|
---|
| 6 |
|
---|
| 7 | this.state = {
|
---|
| 8 |
|
---|
| 9 | }
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | render() {
|
---|
| 13 | return (
|
---|
| 14 | <tr className='scrappers-section-table-row'>
|
---|
| 15 | <td>{this.props.store}</td>
|
---|
| 16 | <td>{this.props.status == 'success' ? <span className='scrapper-info-success'>Успешно</span>
|
---|
| 17 | :
|
---|
| 18 | <span className='scrapper-info-failed'>Неуспешно</span>}</td>
|
---|
| 19 | <td>{this.props.recievedAt.split('T')[0]}</td>
|
---|
| 20 | </tr>
|
---|
| 21 | )
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | export default ScrapperInfoComponent
|
---|
Note:
See
TracBrowser
for help on using the repository browser.