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,