Skip to content

Commit

Permalink
use surveyLinkUrl in event form list item
Browse files Browse the repository at this point in the history
  • Loading branch information
esurface committed Jun 12, 2024
1 parent 9f40001 commit eaebe51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class EventFormListItemComponent implements OnInit {
}

onCopyLinkClick() {
const url = `${window.location.origin}/releases/prod/online-survey-apps/${this.groupId}/${this.eventFormDefinition.formId}/#/case/event/form/${this.eventForm.caseId}/${this.eventForm.caseEventId}/${this.eventForm.id}`;
const url = `${window.location.origin}/${this.surveyLinkUrl}`;
try {
navigator.clipboard.writeText(url);

Expand Down

0 comments on commit eaebe51

Please sign in to comment.