Skip to content
Snippets Groups Projects
Commit 206b85a5 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #15460 TIME 0:02 clean code

parent 2b9f3946
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
<div>{{'lang.chooseLogo' | translate}} : </div> <div>{{'lang.chooseLogo' | translate}} : </div>
<div> <div>
<mat-card style="width: 350px;background-size: 100%;cursor: pointer;" matRipple> <mat-card style="width: 350px;background-size: 100%;cursor: pointer;" matRipple>
<!--<img [src]="logoURL()" (click)="clickLogoButton(uploadLogo)" style="width: 100%;" />-->
<mat-icon svgIcon="maarchLogoFull" class="maarchLogo" (click)="clickLogoButton(uploadLogo)"></mat-icon> <mat-icon svgIcon="maarchLogoFull" class="maarchLogo" (click)="clickLogoButton(uploadLogo)"></mat-icon>
<input type="file" name="files[]" #uploadLogo (change)="uploadTrigger($event, 'logo')" <input type="file" name="files[]" #uploadLogo (change)="uploadTrigger($event, 'logo')"
accept="image/svg+xml" style="display: none;"> accept="image/svg+xml" style="display: none;">
......
...@@ -33,5 +33,4 @@ ...@@ -33,5 +33,4 @@
.maarchLogo { .maarchLogo {
width: 100%; width: 100%;
height: 50%; height: 50%;
padding-bottom: 10px;
} }
\ No newline at end of file
...@@ -196,11 +196,6 @@ export class ParametersCustomizationComponent implements OnInit, OnDestroy { ...@@ -196,11 +196,6 @@ export class ParametersCustomizationComponent implements OnInit, OnDestroy {
return true; return true;
} }
// I replaced the img with the mat-icon
/* logoURL() {
return this.sanitizer.bypassSecurityTrustUrl(this.stepFormGroup.controls['logo'].value);
} */
selectBg(content: string) { selectBg(content: string) {
if (!this.stepFormGroup.controls['bodyImage'].disabled) { if (!this.stepFormGroup.controls['bodyImage'].disabled) {
this.stepFormGroup.controls['bodyImage'].setValue(content); this.stepFormGroup.controls['bodyImage'].setValue(content);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment