@stemy/ngx-utils 19.9.26 → 19.9.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3645,7 +3645,7 @@ class BaseHttpService {
3645
3645
  : Number(params.limit);
3646
3646
  const page = Math.max(Number(params.page), 0);
3647
3647
  const start = Math.max(page * limit, 0);
3648
- const end = Math.min(start + limit, data.length - 1);
3648
+ const end = Math.min(start + limit, data.length);
3649
3649
  resolve({
3650
3650
  total: data.length,
3651
3651
  items: data.slice(start, end),
@@ -6307,7 +6307,7 @@ class AsyncMethodBase {
6307
6307
  handleClick(ev) {
6308
6308
  if (ev) {
6309
6309
  // If it's a new tab action then we dont handle the click
6310
- if (ev.ctrlKey || ev.metaKey || ev.button === 1) {
6310
+ if (ev.ctrlKey || ev.shiftKey || ev.metaKey || ev.button === 1) {
6311
6311
  return true;
6312
6312
  }
6313
6313
  ev.preventDefault();