From abe1b78ccb33f720050ec0b599b09adc582f9595 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Fri, 11 Jun 2021 00:52:24 +0200 Subject: [PATCH] only show feedback form on english page --- site/.vuepress/components/DownloadButton.vue | 2 +- site/.vuepress/components/FeedbackModal.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/.vuepress/components/DownloadButton.vue b/site/.vuepress/components/DownloadButton.vue index da4f95b..fcf5049 100644 --- a/site/.vuepress/components/DownloadButton.vue +++ b/site/.vuepress/components/DownloadButton.vue @@ -78,7 +78,7 @@ export default { break; } - if (!this.showFeedbackModal) { + if (!this.showFeedbackModal && this.$lang === 'en-US') { this.showFeedbackModal = true; } }, diff --git a/site/.vuepress/components/FeedbackModal.vue b/site/.vuepress/components/FeedbackModal.vue index 5259995..1652a18 100644 --- a/site/.vuepress/components/FeedbackModal.vue +++ b/site/.vuepress/components/FeedbackModal.vue @@ -5,7 +5,7 @@