From dc382017a2ab64fddbe6ca6f31b8419f24e8c0b3 Mon Sep 17 00:00:00 2001 From: tykayn Date: Fri, 30 Apr 2021 16:51:51 +0200 Subject: [PATCH] hop --- src/app/features/consultation/consultation.component.html | 4 ++-- src/app/features/consultation/consultation.component.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/features/consultation/consultation.component.html b/src/app/features/consultation/consultation.component.html index 6acc730f..8662448a 100644 --- a/src/app/features/consultation/consultation.component.html +++ b/src/app/features/consultation/consultation.component.html @@ -33,8 +33,8 @@

Pour partager le sondage, vous pouvez diffuser ce lien : - - {{ poll.urlPublic }} + + {{ window.location.href }}

diff --git a/src/app/features/consultation/consultation.component.ts b/src/app/features/consultation/consultation.component.ts index c6aa4e66..4240347a 100644 --- a/src/app/features/consultation/consultation.component.ts +++ b/src/app/features/consultation/consultation.component.ts @@ -30,6 +30,7 @@ export class ConsultationComponent implements OnInit, OnDestroy { id: '', }; private routeSubscription: Subscription; + window: any; constructor( private router: Router,