7979 <div v-if =" !isSimple" class =" text-text-h3 my-4" >
8080 <v-col >
8181 <div v-if =" !isSimple" class =" text-body-1 pb-2" >
82- {{ $t("lookingFor") }} <b >{{ $t("pdfDownload") }}
83- </b >?
82+ {{ $t("lookingFor") }} <b >{{ $t("pdfDownload") }} </b >?
8483 </div >
8584
8685 <v-btn
105104<script >
106105import html2canvas from " html2canvas" ;
107106import { downloadBase64File } from " ~/utils/utils" ;
108- import { GTAG_INTERACTION , GTAG_PAYMENT , GTAG_RESULTS , gtagEvent } from " ~/utils/gtagValues" ;
107+ import {
108+ GTAG_INTERACTION ,
109+ GTAG_PAYMENT ,
110+ GTAG_RESULTS ,
111+ gtagEvent ,
112+ } from " ~/utils/gtagValues" ;
109113
110114export default {
111115 name: " DownloadPopup" ,
112116 props: {
113117 chat: { type: Object },
114- isSimple: { default: false , type: Boolean }
118+ isSimple: { default: false , type: Boolean },
115119 },
116120 data () {
117121 return {
118122 dialog: false ,
119123 loading: false ,
120124 suffix: this .isSimple ? " -top" : " " ,
121- GTAG_INTERACTION
125+ GTAG_INTERACTION ,
122126 };
123127 },
124128 methods: {
125- download : function () {
129+ download : function () {
126130 this .loading = true ;
127131 gtagEvent (" download_image" , GTAG_RESULTS );
128132
@@ -145,13 +149,13 @@ export default {
145149 scrollX: 0 ,
146150 scrollY: - window .scrollY ,
147151 height: normalHeight + additionalHeight + negativeHeight,
148- onclone : function (clonedDoc ) {
152+ onclone : function (clonedDoc ) {
149153 let nonVisibleStuff = clonedDoc .querySelectorAll (
150154 " .only-visible-to-html2canvas"
151155 );
152156 nonVisibleStuff .forEach ((y ) => (y .style .display = " block" ));
153157 return clonedDoc;
154- }
158+ },
155159 });
156160
157161 let names = this .chat .messagesPerPerson
@@ -170,7 +174,7 @@ export default {
170174 paypalButtonPressed () {
171175 gtagEvent (" donation_download_results" , GTAG_PAYMENT , 5 );
172176 },
173- gtagEvent
174- }
177+ gtagEvent,
178+ },
175179};
176180 </script >
0 commit comments