trying to fixe gql fragment bug
This commit is contained in:
parent
d70a8c7fad
commit
3114581e31
|
@ -25,7 +25,7 @@
|
|||
${S()}
|
||||
`;s.Z.post("",{query:(0,c.S)(i)}).then((e=>{t("setProducts",e.data.data.products)})).catch((e=>{console.warn("Issue with loadProducts",e),Promise.reject(e)}))}}};r().use(o.ZP);const O=(0,a.M)(o.ZP.Store,{modules:{Common:d,User:g,Search:_,Blabla:w,Showrooms:k,Pages:T},mixins:{actions:{loadMaterialsGQL({dispatch:e},{ids:t,gqlfragment:n,callBack:i,callBackArgs:r}){const o=u()`{
|
||||
materiaux(ids: [${t}]) {
|
||||
...MateriauFields
|
||||
...${n}
|
||||
}
|
||||
}
|
||||
${n}
|
||||
|
|
Binary file not shown.
|
@ -39,7 +39,7 @@ export default createStore(Vuex.Store, {
|
|||
|
||||
const ast = gql`{
|
||||
materiaux(ids: [${ids}]) {
|
||||
...MateriauFields
|
||||
...${gqlfragment}
|
||||
}
|
||||
}
|
||||
${gqlfragment}
|
||||
|
|
Loading…
Reference in New Issue