Преглед на файлове

added lang param to graphql thematique load

bach преди 4 години
родител
ревизия
5383719450
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 0 0
      web/themes/custom/materiotheme/assets/dist/main.js
  2. 1 1
      web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue

Файловите разлики са ограничени, защото са твърде много
+ 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
         }
       }

Някои файлове не бяха показани, защото твърде много файлове са промени