瀏覽代碼

added lang param to graphql thematique load

bach 4 年之前
父節點
當前提交
5383719450

文件差異過大導致無法顯示
+ 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
         }
       }

部分文件因文件數量過多而無法顯示