fix: remove delay on service

This commit is contained in:
Brian Pooe 2023-08-09 14:06:37 +02:00
parent 5f1e44d548
commit 8d2cd32797
3 changed files with 6 additions and 5 deletions

View file

@ -13,8 +13,5 @@ export class UserService {
users$: Observable<User[]> = this.httpClient
.get<UserResponse>(this.baseUrl)
.pipe(
map(({ data }: UserResponse) => data ?? []),
delay(3000)
);
.pipe(map(({ data }: UserResponse) => data ?? []));
}

View file

@ -4,6 +4,10 @@ An Angular library offering customizable and responsive tables for seamless user
Its flexibility allows users to design tables that fit their project needs with an intuitive API and dynamic data handling.
Elevate your Angular applications with this powerful table solution.
# Demo 🚀
Check it out -> [ngx-responsive-table 💣](https://ngx-responsive-table.brianpooe.com/)
## Installation
```shell

View file

@ -64,7 +64,7 @@ import { KeyValuePipe, NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';
</td>
</ng-template>
<ng-template #loading>loading...</ng-template>
<ng-template #loading>loading...👻</ng-template>
`,
imports: [NgIf, NgTemplateOutlet, NgForOf, KeyValuePipe],
changeDetection: ChangeDetectionStrategy.OnPush