diff --git a/src/app/pages/tables/bikes/bikes.component.ts b/src/app/pages/tables/bikes/bikes.component.ts index 69ec109..b0bbf47 100644 --- a/src/app/pages/tables/bikes/bikes.component.ts +++ b/src/app/pages/tables/bikes/bikes.component.ts @@ -198,6 +198,11 @@ export class BikesComponent { tempDataSource.push(oldRow); } } + for (const oldRow of this.data.data) { + if (oldRow.newObject) { + tempDataSource.unshift(oldRow); + } + } this.data.data = tempDataSource; }); this.bikesService.loadBikes();