mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
29 lines
863 B
TypeScript
29 lines
863 B
TypeScript
import { HttpClient } from '@angular/common/http';
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
import { ToastService } from '../../../../src/app/core/services/toast.service';
|
|
import { ConfigService } from '../../services/config.service';
|
|
import { BaseComponent } from '../example/base-page/base.component';
|
|
|
|
@Component({
|
|
selector: 'app-end-confirmation',
|
|
templateUrl: './end-confirmation.component.html',
|
|
styleUrls: ['./end-confirmation.component.scss'],
|
|
})
|
|
export class EndConfirmationComponent extends BaseComponent implements OnInit {
|
|
mailToRecieve = '';
|
|
|
|
constructor(public config: ConfigService, public http: HttpClient, private toastService: ToastService) {
|
|
super(config);
|
|
this.mailToRecieve = this.config.myEmail;
|
|
}
|
|
|
|
ngOnInit(): void {}
|
|
|
|
copyLink(str: any) {
|
|
this.toastService.display(`Lien copié : ${str}`);
|
|
}
|
|
|
|
sendToEmail() {}
|
|
}
|