Skip to content

Commit

Permalink
fix: primefaces#17152 modify empty template condition
Browse files Browse the repository at this point in the history
  • Loading branch information
qwadrox committed Dec 20, 2024
1 parent c6b50ba commit 6b01fec
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 6b01fec

Please sign in to comment.