Skip to content

Commit

Permalink
style: new prettier format
Browse files Browse the repository at this point in the history
Signed-off-by: Dafnik <[email protected]>
  • Loading branch information
Dafnik committed Jul 20, 2024
1 parent ba713b5 commit 20d97ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/home/_shared/services/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function injectPagination({
activatedRoute.queryParamMap.pipe(
map((it) => ({
page: it.get('page') ? n_from(it.get('page')) : 0,
size: it.get('size') ? n_from(it.get('size')) : defaultPageSize ?? DEFAULT_PAGE_SIZE,
size: it.get('size') ? n_from(it.get('size')) : (defaultPageSize ?? DEFAULT_PAGE_SIZE),
sort: {
name: it.get('sort') ?? defaultSortBy,
direction: (it.get('direction') as SortDirection | undefined) ?? defaultSortDirection ?? DEFAULT_SORT_DIRECTION,
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/printers/printers.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class PrintersComponent {
font: result.font,
bonWidth: result.bonWidth,
bonPadding: result.bonPadding,
bonPaddingTop: result.bonPaddingTop === undefined ? it.bonPaddingTop : result.bonPaddingTop ?? undefined,
bonPaddingTop: result.bonPaddingTop === undefined ? it.bonPaddingTop : (result.bonPaddingTop ?? undefined),
}),
),
).subscribe(() => {
Expand Down

0 comments on commit 20d97ee

Please sign in to comment.