Problems in a list - Ionic

0

Well, I'm developing an app with ionic and firebase. Everything is happening within the expected, but when I try to bring the data for editing, the data is all in one column of the list, I did several searches but I did not find a way to sort.

methodthatwritesinformationtothevector.TS:

if(this.vetCarrinho.indexOf(element)===-1){this.vetCarrinho.push(element);

Html:

<ion-list><ion-item*ngFor="let element of vetCarrinho"> 
          {{element}}
          <button ion-button color="danger" (click)="deleteProduto(element)" item-end>
            <ion-icon name="trash"></ion-icon>
          </button>      

        </ion-item>   
       </ion-list>  
    
asked by anonymous 28.11.2018 / 16:46

0 answers