Merge pull request #46 from brianpooe/feature/gh-pages

fix: remove delay on service
This commit is contained in:
Brian Pooe 2023-08-09 14:11:13 +02:00 committed by GitHub
commit 3d1527d379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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