disable feedback modal for now

This commit is contained in:
Matteias Collet 2021-12-19 21:27:40 +01:00 committed by GitHub
parent 392f77acde
commit b555bdf9f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,12 +39,12 @@ export default {
};
},
mounted() {
if (localStorage.getItem('feedback-modal-displayed') !== 'y') {
this.showModal = true;
localStorage.setItem('feedback-modal-displayed', 'y');
try {
window._paq.push(['trackEvent', 'GCT Generator', 'Feedback', 'Open Modal']);
} catch {}
// if (localStorage.getItem('feedback-modal-displayed') !== 'y') {
// this.showModal = true;
// localStorage.setItem('feedback-modal-displayed', 'y');
// try {
// window._paq.push(['trackEvent', 'GCT Generator', 'Feedback', 'Open Modal']);
// } catch {}
}
},
methods: {