Skip to content

Commit

Permalink
feat: put back fieldType variable, needed in html
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Badura committed Jan 18, 2024
1 parent 2b029e1 commit 5d48fab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class ProductPropertyComponent implements OnChanges {
})
}

public onFileUpload(ev: Event /* , fieldType: 'logo' */): void {
public onFileUpload(ev: Event, fieldType: 'logo'): void {
if (ev.target && (ev.target as HTMLInputElement).files) {
const files = (ev.target as HTMLInputElement).files
if (files) {
Expand Down

0 comments on commit 5d48fab

Please sign in to comment.