@murasoftware/next-core
Advanced tools
Comparing version 1.0.64 to 1.0.65
@@ -578,3 +578,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var _temp5 = function () { | ||
if (connectorConfig.codeblocks && (context.res || context.browser)) { | ||
if (connectorConfig.codeblocks && (context.res || context.browser) && !(queryParams.codeblocks && queryParams.codeblocks === "false")) { | ||
return Promise.resolve(Mura.getFeed('codeblock').where().prop('active').isEQ(1).getQuery()).then(function (codeCollection) { | ||
@@ -581,0 +581,0 @@ codeCollection.forEach(function (item) { |
@@ -575,3 +575,3 @@ import React, { useEffect, useState, createContext } from 'react'; | ||
var _temp5 = function () { | ||
if (connectorConfig.codeblocks && (context.res || context.browser)) { | ||
if (connectorConfig.codeblocks && (context.res || context.browser) && !(queryParams.codeblocks && queryParams.codeblocks === "false")) { | ||
return Promise.resolve(Mura.getFeed('codeblock').where().prop('active').isEQ(1).getQuery()).then(function (codeCollection) { | ||
@@ -578,0 +578,0 @@ codeCollection.forEach(function (item) { |
{ | ||
"name": "@murasoftware/next-core", | ||
"version": "1.0.64", | ||
"version": "1.0.65", | ||
"description": "Core utilties for Mura.js and Next.js", | ||
@@ -5,0 +5,0 @@ "author": "Mura Software", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
253092