From 1ee81c2181b3778ec3eb1bc2bc35aab82dd2c615 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Fri, 20 May 2022 13:12:50 +0300 Subject: [PATCH] paging: show less pages in smaller screens --- utils/pagingFormatter.component.ts | 4 ++-- utils/pagingFormatterNoLoad.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/pagingFormatter.component.ts b/utils/pagingFormatter.component.ts index c9982898..f3466816 100644 --- a/utils/pagingFormatter.component.ts +++ b/utils/pagingFormatter.component.ts @@ -27,10 +27,10 @@ import {properties} from "../../../environments/environment";
  • {{(currentPage + 2) | number}}
  • -
  • {{(currentPage + 3) | number}}
  • -
  • {{(currentPage + 4) | number}}
  • diff --git a/utils/pagingFormatterNoLoad.component.ts b/utils/pagingFormatterNoLoad.component.ts index 938f6ef9..51e0e961 100644 --- a/utils/pagingFormatterNoLoad.component.ts +++ b/utils/pagingFormatterNoLoad.component.ts @@ -18,8 +18,8 @@ import {properties} from "../../../environments/environment";
  • {{currentPage | number}}
  • {{(currentPage +1) | number}}
  • {{(currentPage +2) | number}}
  • -
  • {{(currentPage +3) | number}}
  • -
  • {{(currentPage +4) | number}}
  • +
  • {{(currentPage +3) | number}}
  • +
  • {{(currentPage +4) | number}}