From 465ed904390538aa224fc7aced527c71d900d110 Mon Sep 17 00:00:00 2001 From: Sergey Hartmann <82177912+gitkhartmann@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:49:45 +0300 Subject: [PATCH] fix(module:table): updated the condition for displaying nz-pagination when nzTotal > 0 --- components/table/src/table/table.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/src/table/table.component.ts b/components/table/src/table/table.component.ts index 363498ac389..a663af4aee3 100644 --- a/components/table/src/table/table.component.ts +++ b/components/table/src/table/table.component.ts @@ -116,7 +116,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'table'; } - @if (nzShowPagination && data.length) { + @if ((nzShowPagination && data.length) || (nzShowPagination && nzTotal)) {