@pdfme/ui 6.1.9-dev.1 → 6.1.10-dev.1
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46025,7 +46025,7 @@ function parseExpressionAt(input, pos, options) {
|
|
|
46025
46025
|
}
|
|
46026
46026
|
//#endregion
|
|
46027
46027
|
//#region ../common/dist/index.js
|
|
46028
|
-
var PDFME_VERSION = "6.1.
|
|
46028
|
+
var PDFME_VERSION = "6.1.10";
|
|
46029
46029
|
var PAGE_SIZE_PRESETS = {
|
|
46030
46030
|
A3: {
|
|
46031
46031
|
width: 297,
|
|
@@ -212103,7 +212103,7 @@ var Preview = ({ template, inputs, size, onChangeInput, onPageChange }) => {
|
|
|
212103
212103
|
const sl = await template2SchemasList(dynamicTemplate);
|
|
212104
212104
|
if (!isMountedRef.current || requestId !== initRequestIdRef.current) return;
|
|
212105
212105
|
setSchemasList(sl);
|
|
212106
|
-
await currentRefresh(dynamicTemplate);
|
|
212106
|
+
if (dynamicTemplate !== template) await currentRefresh(dynamicTemplate);
|
|
212107
212107
|
}).catch((err) => console.error(`[@pdfme/ui] `, err));
|
|
212108
212108
|
}, []);
|
|
212109
212109
|
(0, import_react$9.useEffect)(() => {
|