Skip to content

Commit

Permalink
removing console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MMwandigha committed Feb 25, 2025
1 parent eb091bd commit 51b321d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export class ImageUploaderComponent implements ControlValueAccessor {

writeValue(obj: any): void {
if (!obj) return;
console.log('writeValue > obj', obj);
const objData = Array.isArray(obj) ? obj[0] : obj;

this.upload = false;
Expand All @@ -63,7 +62,6 @@ export class ImageUploaderComponent implements ControlValueAccessor {

// Set preview URL
this.previewUrl = this.domSanitizer.bypassSecurityTrustUrl(objData.url); // Directly assign the URL
console.log('Updated previewUrl:', this.previewUrl);
}

registerOnChange(fn: any): void {
Expand Down

0 comments on commit 51b321d

Please sign in to comment.