fix: run prettier on all file to avoid prettier issue inside PR

This commit is contained in:
thomas
2024-01-07 21:41:36 +01:00
parent 3bc793f6b3
commit c8b7c5d4a6
195 changed files with 575 additions and 452 deletions

View File

@@ -94,7 +94,7 @@ export class TableComponent
private api = inject(FakeBackendService);
readonly issues$ = this.select((s) => s.users).pipe(
tap((t) => console.log('UserNEw ', t))
tap((t) => console.log('UserNEw ', t)),
);
readonly loading$ = this.select((s) => s.loading);
readonly error$ = this.select((s) => s.error);
@@ -124,11 +124,11 @@ export class TableComponent
tap((t) => console.log('user', t)),
tapResponse(
(data) => this.patchState({ users: data, loading: false }),
(err) => this.patchState({ error: err as string, loading: false })
)
)
)
)
(err) => this.patchState({ error: err as string, loading: false }),
),
),
),
),
);
ngAfterViewInit(): void {
@@ -137,7 +137,7 @@ export class TableComponent
this.loadData(
this.select({
sortActive: this.sort.sortChange.pipe(
map((s) => s.active as keyof User)
map((s) => s.active as keyof User),
),
sortDir: this.sort.sortChange.pipe(map((s) => s.direction)),
pageIndex: this.paginator.page.pipe(map((p) => p.pageIndex)),
@@ -146,8 +146,8 @@ export class TableComponent
sortActive: this.sort.active as keyof User,
sortDir: this.sort.direction,
pageIndex: 1,
})
)
}),
),
);
}