Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Dec 6, 2023
1 parent ee2bb85 commit f780f42
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vue/src/vue-elements/accounts-selector-panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,17 +194,13 @@
},
mounted: function () {
this.setupData();
// this.refresh_language_taxonomies();
},
methods: {
postTypes() {
// 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);
Expand Down

0 comments on commit f780f42

Please sign in to comment.