Change handleOptionalSelect name
| @@ -3358,7 +3358,7 @@ export async function getWorldEntry(name, data, entry) { | ||
| 3358 | 3358 | }); |
| 3359 | 3359 | useGroupScoringSelect.val((entry.useGroupScoring === null || entry.useGroupScoring === undefined) ? 'null' : entry.useGroupScoring ? 'true' : 'false').trigger('input'); |
| 3360 | 3360 | |
| 3361 | 3361 | function handleOptionalSelecthandleMatchCheckbox(fieldName) { |
| 3362 | 3362 | const key = originalWIDataKeyMap[fieldName]; |
| 3363 | 3363 | const checkBoxElem = template.find(`input[type="checkbox"][name="${fieldName}"]`); |
| 3364 | 3364 | checkBoxElem.data('uid', entry.uid); |
| @@ -3373,12 +3373,12 @@ export async function getWorldEntry(name, data, entry) { | ||
| 3373 | 3373 | checkBoxElem.prop('checked', !!entry[fieldName]).trigger('input'); |
| 3374 | 3374 | } |
| 3375 | 3375 | |
| 3376 | 3376 | handleOptionalSelecthandleMatchCheckbox('matchPersonaDescription'); |
| 3377 | 3377 | handleOptionalSelecthandleMatchCheckbox('matchCharacterDescription'); |
| 3378 | 3378 | handleOptionalSelecthandleMatchCheckbox('matchCharacterPersonality'); |
| 3379 | 3379 | handleOptionalSelecthandleMatchCheckbox('matchCharacterDepthPrompt'); |
| 3380 | 3380 | handleOptionalSelecthandleMatchCheckbox('matchScenario'); |
| 3381 | 3381 | handleOptionalSelecthandleMatchCheckbox('matchCreatorNotes'); |
| 3382 | 3382 | |
| 3383 | 3383 | // automation id |
| 3384 | 3384 | const automationIdInput = template.find('input[name="automationId"]'); |