From e83899285a6657d566177d10c9986fad883a1476 Mon Sep 17 00:00:00 2001 From: Cocoa Date: Tue, 12 Mar 2024 22:11:12 -0400 Subject: [PATCH] Fix customSig param and bump version number --- package.json | 2 +- src/models/configuration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fd3fccc..b4f5596 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bookbinder", - "version": "1.3.7", + "version": "1.4.0", "description": "An app to rearrange PDF pages for printing for bookbinding", "type": "module", "scripts": { diff --git a/src/models/configuration.js b/src/models/configuration.js index ab3c71a..07a1fc0 100644 --- a/src/models/configuration.js +++ b/src/models/configuration.js @@ -90,7 +90,7 @@ export const schema = z.object({ bottomEdgePaddingPt: urlSafe(z.coerce.number()).default(0), sigFormat, sigLength: urlSafe(z.coerce.number()).default(4), // Specific to standard - customSigLength: urlSafe(commaSeparatedNumberList).default([]), // Specific to custom. + customSigLength: urlSafe(commaSeparatedNumberList).default(null), // Specific to custom. foreEdgePaddingPt: urlSafe(z.coerce.number()).default(0), // specific to wacky small wackySpacing, // specific to wacky small flyleafs: urlSafe(z.coerce.number()).default(1),