From e2841e3352a97b372260b3b147e3126d65548b1c Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Mon, 16 Nov 2020 11:11:56 -0500 Subject: [PATCH] Increases max characters for initials to 6, to support user IDs --- src/app/config/defaults.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/config/defaults.ts b/src/app/config/defaults.ts index 5e72d07..854f13c 100644 --- a/src/app/config/defaults.ts +++ b/src/app/config/defaults.ts @@ -40,9 +40,9 @@ export const defaultOptions: AppDefaultsOptions = { countsCollection: 'counts', // Name of collection for Line Counts in Firebase. dateDisplayFormat: 'MM/dd/yyyy, hh:mm aa', // Format for dates when displayed to user. dateEncodedFormat: 'yyyyMMddHHmm', // Format for dates when encoded in IDs for database records. - initialsLength: 5, - initialsRegExp: /^[a-zA-Z]{2,5}$/, - labelLayout: labelLayouts.circle_qrcode_single, // Which label layout to use for printing. Can be overridden by user setting. + initialsLength: 6, + initialsRegExp: /^[a-zA-Z]{2,6}$/, + labelLayout: labelLayouts.circle_qrcode_single, // Which label layout to use for printing. Can be overridden by user setting. lineCountRegExp: /^[\d]{4}-[\d]{12}$/, // ID format for Line Count records. locationId: '0000', // Default location ID. Can be overridden by user setting. locationIdRegExp: /^[\d]{4}$/, // ID format for Line Count records.