diff --git a/src/app/app.component.html b/src/app/app.component.html
index f0e044df..ab58b404 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -52,3 +52,5 @@
+
+
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.html b/src/app/pages/end-confirmation/end-confirmation.component.html
index 35eff720..9bf23ebe 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.html
+++ b/src/app/pages/end-confirmation/end-confirmation.component.html
@@ -89,3 +89,4 @@
+
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/pages/end-confirmation/end-confirmation.component.ts
index b75eeb9d..effc1d9b 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/pages/end-confirmation/end-confirmation.component.ts
@@ -24,7 +24,11 @@ export class EndConfirmationComponent extends BaseComponent implements OnInit {
}
copyLink(str: any) {
- this.messageService.add({severity: 'success', summary: 'Service Message', detail: 'Via MessageService'});
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Lien copié',
+ detail: str
+ });
}
sendToEmail() {
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index c7958a49..9670d760 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -163,9 +163,9 @@ export class ConfigService extends PollConfig {
)
.subscribe(res => {
// message: 'Trouvé! Allez voir votre boite email',
- this.myPolls = res;
- console.log('res', res);
- this.loading = false;
+ this.myPolls = res;
+ console.log('res', res);
+ this.loading = false;
this.messageService.add({
severity: 'success',
summary: 'Service Message',
@@ -186,7 +186,7 @@ export class ConfigService extends PollConfig {
// TODO handle a toast message
console.error('err', err);
this.loading = false;
- this.messageService.add({severity: 'warning', summary: "Erreur lors de l'appel "});
+ this.messageService.add({severity: 'warning', summary: "Erreur lors de l'appel ", detail: err.message});
}