Browse Source

added lang param to graphql thematique load

bach 4 năm trước cách đây
mục cha
commit
5383719450

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


+ 1 - 1
web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue

@@ -106,7 +106,7 @@ export default {
       this.loading = true
 
       let ast = gql`{
-        route(path: "${this.path}") {
+        route(path: "${this.path}", lang: "${drupalDecoupled.lang_code}") {
           ...ThematiqueFields
         }
       }

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác