Merged in feature/IO-3499-React-19 (pull request #2861)
feature/IO-3499-React-19 Checkpoint
This commit is contained in:
@@ -386,11 +386,16 @@ const fetchContextData = async (templateObject, jsrAuth) => {
|
||||
if (templateQueryToExecute) {
|
||||
const { data } = await client.query({
|
||||
query: gql(templateQueryToExecute),
|
||||
variables: { ...templateObject.variables }
|
||||
variables: { ...templateObject.variables },
|
||||
fetchPolicy: "no-cache"
|
||||
});
|
||||
contextData = data;
|
||||
}
|
||||
return { contextData, useShopSpecificTemplate, shopSpecificFolder };
|
||||
return {
|
||||
contextData,
|
||||
useShopSpecificTemplate,
|
||||
shopSpecificFolder
|
||||
};
|
||||
}
|
||||
|
||||
return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder);
|
||||
|
||||
Reference in New Issue
Block a user