From e5214fdd9757a207ee01a0e263c1ab63df1edc12 Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Wed, 21 Oct 2020 16:50:48 +0200 Subject: [PATCH] only send list of polls by email to user --- .../user-polls/user-polls.component.html | 49 +++++-------------- .../user-polls/user-polls.component.ts | 5 +- 2 files changed, 15 insertions(+), 39 deletions(-) diff --git a/src/app/features/user-profile/user-polls/user-polls.component.html b/src/app/features/user-profile/user-polls/user-polls.component.html index 444b25aa..fc898c00 100644 --- a/src/app/features/user-profile/user-polls/user-polls.component.html +++ b/src/app/features/user-profile/user-polls/user-polls.component.html @@ -1,10 +1,10 @@
- -
-
-

Mes sondages

-
+
+
+

Mes sondages

+
+
@@ -22,38 +22,15 @@
- - - -
-
- OU -
-
-
-
-
+
+
+
+ + -
-
- -
- - diff --git a/src/app/features/user-profile/user-polls/user-polls.component.ts b/src/app/features/user-profile/user-polls/user-polls.component.ts index f8350662..ebe75b35 100644 --- a/src/app/features/user-profile/user-polls/user-polls.component.ts +++ b/src/app/features/user-profile/user-polls/user-polls.component.ts @@ -12,12 +12,11 @@ import { UserService } from '../../../core/services/user.service'; export class UserPollsComponent implements OnInit { public _user: Observable = this.userService.user; public isModalOpened = false; + public pollsAreLoaded = false; constructor(private userService: UserService) {} ngOnInit(): void {} - public toggleModal(): void { - this.isModalOpened = !this.isModalOpened; - } + sendRetrieveEmail() {} }