Skip to content
Snippets Groups Projects
Commit bf97fd29 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

rm comment

parent 05300694
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
{{email.label}} ({{email.email}}) {{email.label}} ({{email.email}})
</mat-option> </mat-option>
</mat-select> </mat-select>
<button mat-button matSuffix [class.activeButton]="showCopies" (click)="$event.stopPropagation();showCopies = !showCopies">Cc</button> <button mat-button color="primary" matSuffix [class.activeButton]="showCopies" (click)="$event.stopPropagation();showCopies = !showCopies">Cc</button>
<button mat-button matSuffix [class.activeButton]="showInvisibleCopies" <button mat-button color="primary" matSuffix [class.activeButton]="showInvisibleCopies"
(click)="$event.stopPropagation();showInvisibleCopies = !showInvisibleCopies">Cci</button> (click)="$event.stopPropagation();showInvisibleCopies = !showInvisibleCopies">Cci</button>
</mat-form-field> </mat-form-field>
......
...@@ -370,9 +370,7 @@ export class SendedResourcePageComponent implements OnInit { ...@@ -370,9 +370,7 @@ export class SendedResourcePageComponent implements OnInit {
} }
onSubmit() { onSubmit() {
console.log(this.formatEmail()); this.http.post(`../../rest/emails`, this.formatEmail()).pipe(
/*this.http.post(`../../rest/emails`, this.formatEmail()).pipe(
tap(() => { tap(() => {
this.notify.success("Email en cours d'envoi...") this.notify.success("Email en cours d'envoi...")
this.dialogRef.close('success'); this.dialogRef.close('success');
...@@ -381,7 +379,7 @@ export class SendedResourcePageComponent implements OnInit { ...@@ -381,7 +379,7 @@ export class SendedResourcePageComponent implements OnInit {
this.notify.handleSoftErrors(err); this.notify.handleSoftErrors(err);
return of(false); return of(false);
}) })
).subscribe();*/ ).subscribe();
} }
drop(event: CdkDragDrop<string[]>) { drop(event: CdkDragDrop<string[]>) {
......
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