From 6cd342d2105af23ec166ab2b855ac712a23c1748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:38:41 +0300 Subject: [PATCH] Fixes #17152 --- 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..683a00d2795 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()) { }