2020-04-14 11:28:33 +02:00
|
|
|
import { HttpClient } from '@angular/common/http';
|
2020-06-16 18:40:48 +02:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
|
|
|
|
import { ToastService } from '../../../../core/services/toast.service';
|
2020-04-14 11:28:33 +02:00
|
|
|
import { ConfigService } from '../../services/config.service';
|
2020-06-16 18:40:48 +02:00
|
|
|
import { BaseComponent } from '../example/base-page/base.component';
|
2019-08-10 17:41:01 +02:00
|
|
|
|
|
|
|
@Component({
|
2020-04-22 12:56:18 +02:00
|
|
|
selector: 'app-end-confirmation',
|
2020-04-21 10:50:26 +02:00
|
|
|
templateUrl: './end-confirmation.component.html',
|
|
|
|
styleUrls: ['./end-confirmation.component.scss'],
|
2019-08-10 17:41:01 +02:00
|
|
|
})
|
2019-09-09 10:57:08 +02:00
|
|
|
export class EndConfirmationComponent extends BaseComponent implements OnInit {
|
2020-04-21 10:50:26 +02:00
|
|
|
mailToRecieve = '';
|
2019-08-10 17:41:01 +02:00
|
|
|
|
2020-06-16 18:40:48 +02:00
|
|
|
constructor(public config: ConfigService, public http: HttpClient, private toastService: ToastService) {
|
2020-04-21 10:50:26 +02:00
|
|
|
super(config);
|
|
|
|
this.mailToRecieve = this.config.myEmail;
|
|
|
|
}
|
2019-08-10 17:41:01 +02:00
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
ngOnInit(): void {}
|
2019-12-31 19:08:50 +01:00
|
|
|
|
2020-04-21 10:50:26 +02:00
|
|
|
copyLink(str: any) {
|
2020-06-16 18:40:48 +02:00
|
|
|
this.toastService.display(`Lien copié : ${str}`);
|
2020-04-21 10:50:26 +02:00
|
|
|
}
|
2019-12-31 19:08:50 +01:00
|
|
|
|
2020-04-21 10:50:26 +02:00
|
|
|
sendToEmail() {}
|
2019-08-10 17:41:01 +02:00
|
|
|
}
|