Skip to content

Commit

Permalink
Fixes #17152
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Dec 23, 2024
1 parent 56380a8 commit 6cd342d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primeng/src/fileupload/fileupload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ import { FileUploadStyle } from './style/fileuploadstyle';
}
"
></ng-container>
@if (emptyTemplate && _emptyTemplate && !hasFiles() && !hasUploadedFiles()) {
@if ((emptyTemplate || _emptyTemplate) && !hasFiles() && !hasUploadedFiles()) {
<ng-container *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
}
</div>
Expand Down

0 comments on commit 6cd342d

Please sign in to comment.