Fix pour afficher le numéro du saut et
non l'id provenant de la bdd
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="id">
|
||||
<th mat-header-cell *matHeaderCellDef style="width: 60px;">Num</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.id}}</td>
|
||||
<th mat-header-cell *matHeaderCellDef style="width: 90px;">Num</th>
|
||||
<td mat-cell *matCellDef="let element; let i = index">{{ resultsLength - i }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="jumpDate">
|
||||
|
||||
@@ -2,13 +2,13 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatDialog } from "@angular/material/dialog";
|
||||
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
import { AddAction } from '../../models/add-action.enum';
|
||||
import { JumpResp } from '../../models/jump';
|
||||
import { JumpService } from '../../services/jump.service';
|
||||
import { ServiceComm } from '../../services/service-comm.service';
|
||||
import { JumpInfosComponent } from "../jump-infos/jump-infos.component";
|
||||
import { AddAction } from '../../models/add-action.enum';
|
||||
|
||||
@Component({
|
||||
selector: 'app-list-of-jumps',
|
||||
|
||||
Reference in New Issue
Block a user