From a1ddda6a5e1ec3580bcde32080951a58b738c36d Mon Sep 17 00:00:00 2001 From: Paul Isaris Date: Tue, 21 Jan 2025 14:59:37 +0200 Subject: [PATCH] debug --- .../assets/js/vue-components/common/TranslationsManager.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/assets/js/vue-components/common/TranslationsManager.vue b/resources/assets/js/vue-components/common/TranslationsManager.vue index 4833aeff..9895d872 100644 --- a/resources/assets/js/vue-components/common/TranslationsManager.vue +++ b/resources/assets/js/vue-components/common/TranslationsManager.vue @@ -341,6 +341,8 @@ export default { // get the target language code. It is the language code of the active tab. // activeTabIndex + 1, because we don't have a tab for the default language, // so the translations start from the "second" tab. + console.log(this.checkedLanguages); + console.log("Active tab index is", this.activeTabIndex); const targetLanguage = this.checkedLanguages[this.activeTabIndex + 1].language_code; // for each of the translations in the active tab, // we need to get the original value and the translation value for each object that is not already translated.