@mjhls/mjh-framework 1.0.211 → 1.0.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -320,7 +320,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
320
320
|
widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
|
|
321
321
|
|
|
322
322
|
|
|
323
|
-
if (client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
323
|
+
if (client.clientConfig && client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
324
324
|
widthP = client.clientConfig.defaultImageSize;
|
|
325
325
|
}
|
|
326
326
|
|
package/dist/esm/index.js
CHANGED
|
@@ -318,7 +318,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
318
318
|
widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
|
|
319
319
|
|
|
320
320
|
|
|
321
|
-
if (client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
321
|
+
if (client.clientConfig && client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
322
322
|
widthP = client.clientConfig.defaultImageSize;
|
|
323
323
|
}
|
|
324
324
|
|