reymesson1 / septimoejercicio

1 stars 0 forks source link

Showing comments list #73

Closed reymesson1 closed 5 years ago

reymesson1 commented 5 years ago

let date; let datedel; let status;
let comments = []; let obj = this.props.masterAPI.filter( (master) => master.id == this.props.inputText ); if(obj[0]){ date = obj[0].date;
datedel = obj[0].fechaentrega;
status = obj[0].status;
comments = obj[0].comments;
}

reymesson1 commented 5 years ago
Comments:
{comments.map( (master) =>

)}
reymesson1 commented 5 years ago

{comments.map( (master) => div Label bsStyle="success" {master} Label br div )}

reymesson1 commented 5 years ago

let comments = [];

ojo debe estar inicializado.