From 6b01feca64e2a459d91e8f1560f7577de73df8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boros=20Ma=CC=81te=CC=81?= <33902750+qwadrox@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:36:42 +0100 Subject: [PATCH] fix: #17152 modify empty template condition --- packages/primeng/src/fileupload/fileupload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primeng/src/fileupload/fileupload.ts b/packages/primeng/src/fileupload/fileupload.ts index 230aadf93a5..a04160c032d 100755 --- a/packages/primeng/src/fileupload/fileupload.ts +++ b/packages/primeng/src/fileupload/fileupload.ts @@ -175,7 +175,7 @@ import { FileUploadStyle } from './style/fileuploadstyle'; } " > - @if (emptyTemplate && _emptyTemplate && !hasFiles() && !hasUploadedFiles()) { + @if (emptyTemplate || _emptyTemplate && !hasFiles() && !hasUploadedFiles()) { }