Show complex objects in TD of a table

0

I have this table

<div class="container">
    <div class="row">
        <div class="col-md-12">
        <table class="table table-striped table-bordered">
         <caption>Lista de Aplicabilidades</caption>
            <thead class="thead-dark">
                <tr>
                    <th>Nome</th>
                    <th>Contexto</th>
                    <th>Tipo de Pagamento</th>
                    <th>Tipo de Entrega</th>
                    <th>MarketPlace</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let aplicabilidade of dataSource">
                    <td>{{ aplicabilidade.name }}</td>
                    <td>{{ aplicabilidade.context }}</td>
                    <td>{{ aplicabilidade.typePaymentDetailsModel }}</td>
                    <td>{{ aplicabilidade.typeDeliveryDetailsModels }}</td>
                    <td>{{ aplicabilidade.marketPlace }}</td>
                  </tr>
            </tbody>
        </table>
    </div>
</div>

These two TD's are json objects. Looking at the bank the record is this way (print from MongoDB with Robot 3T)

Well,whenIuploadthetable,itshowslikethis

See that a column with [object Object] appears and should be seen in different columns. So how do I show or not to do what I want?

    
asked by anonymous 25.07.2018 / 13:42

0 answers