Skip to content

Commit affbfc5

Browse files
Merge pull request #1448 from OpenSignLabs/validation
refactor: change parameter from size to fontsize
2 parents a3936c6 + 886ede2 commit affbfc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/OpenSignServer/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function formatWidgetOptions(type, options) {
134134
const values = options?.values || [];
135135
const color = options?.color ? options.color : 'black';
136136
const fontColor = colorsArr.includes(color) ? color : 'black';
137-
const size = options?.size ? parseInt(options.size) : 12;
137+
const size = options?.fontsize ? parseInt(options.fontsize) : 12;
138138
const fontSize = fontSizes.includes(size) ? size : 12;
139139
switch (type) {
140140
case 'signature':

0 commit comments

Comments
 (0)