diff --git a/vue/src/vue-elements/accounts-selector-panel.vue b/vue/src/vue-elements/accounts-selector-panel.vue index 32d2fbb93..6d31db929 100644 --- a/vue/src/vue-elements/accounts-selector-panel.vue +++ b/vue/src/vue-elements/accounts-selector-panel.vue @@ -194,7 +194,6 @@ }, mounted: function () { this.setupData(); - // this.refresh_language_taxonomies(); }, methods: { @@ -202,9 +201,6 @@ // console.log('post types:', this.$store.state.generalSettings.available_post_types); return this.$store.state.generalSettings.available_post_types; }, - refresh_language_taxonomies(lang){ - this.$store.dispatch('fetchAJAXPromise', {req: 'get_taxonomies', data: {post_types: this.postTypes(), language_code: lang}}); - }, get_lang(){ console.log("Inside Get lang"); console.log("LANG: ", document.querySelector('#wpml-language-selector').value);