funky-framadate-front/src/app/features/administration/success/success.component.ts

23 lines
587 B
TypeScript
Raw Normal View History

import { Component, Input, OnInit } from '@angular/core';
import { PollService } from '../../../core/services/poll.service';
import { Poll } from '../../../core/models/poll.model';
2021-04-30 16:12:02 +02:00
import { environment } from 'src/environments/environment';
2020-12-16 17:21:01 +01:00
@Component({
selector: 'app-success',
templateUrl: './success.component.html',
styleUrls: ['./success.component.scss'],
})
2021-04-30 23:33:56 +02:00
export class SuccessComponent {
@Input() poll: Poll;
mailToRecieve: string;
2021-04-30 16:00:22 +02:00
window: any = window;
2021-04-30 16:12:02 +02:00
environment = environment;
2021-04-30 23:33:56 +02:00
constructor(public pollService: PollService) {}
sendToEmail() {
alert('todo');
}
2020-12-16 17:21:01 +01:00
}