Skip to content

Commit

Permalink
FileUpload | Add missing class and fixes #13414
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Aug 1, 2023
1 parent 9cb90e2 commit 55cd7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/fileupload/fileupload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import { FileBeforeUploadEvent, FileProgressEvent, FileRemoveEvent, FileSelectEv
</span>
<p-button *ngIf="!auto && showUploadButton" type="button" [label]="uploadButtonLabel" (onClick)="upload()" [disabled]="!hasFiles() || isFileLimitExceeded()" [styleClass]="uploadStyleClass">
<span *ngIf="uploadIcon" [ngClass]="uploadIcon"></span>
<span *ngIf="uploadIcon" [ngClass]="uploadIcon" class="p-button-icon p-button-icon-left"></span>
<ng-container *ngIf="!uploadIcon">
<UploadIcon *ngIf="!uploadIconTemplate" [styleClass]="'p-button-icon p-button-icon-left'" />
<span *ngIf="uploadIconTemplate" class="p-button-icon p-button-icon-left">
Expand All @@ -77,7 +77,7 @@ import { FileBeforeUploadEvent, FileProgressEvent, FileRemoveEvent, FileSelectEv
</ng-container>
</p-button>
<p-button *ngIf="!auto && showCancelButton" type="button" [label]="cancelButtonLabel" (onClick)="clear()" [disabled]="!hasFiles() || uploading" [styleClass]="cancelStyleClass">
<span *ngIf="cancelIcon" [ngClass]="cancelIcon"></span>
<span *ngIf="cancelIcon" [ngClass]="cancelIcon" class="p-button-icon p-button-icon-left"></span>
<ng-container *ngIf="!cancelIcon">
<TimesIcon *ngIf="!cancelIconTemplate" [styleClass]="'p-button-icon p-button-icon-left'" />
<span *ngIf="cancelIconTemplate" class="p-button-icon p-button-icon-left">
Expand Down

1 comment on commit 55cd7fd

@vercel
Copy link

@vercel vercel bot commented on 55cd7fd Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.