()
| 439 | }; |
| 440 | |
| 441 | const submitLinuxDOOAuth = async () => { |
| 442 | const options = []; |
| 443 | |
| 444 | if (originInputs['LinuxDOClientId'] !== inputs.LinuxDOClientId) { |
| 445 | options.push({ key: 'LinuxDOClientId', value: inputs.LinuxDOClientId }); |
| 446 | } |
| 447 | if ( |
| 448 | originInputs['LinuxDOClientSecret'] !== inputs.LinuxDOClientSecret && |
| 449 | inputs.LinuxDOClientSecret !== '' |
| 450 | ) { |
| 451 | options.push({ |
| 452 | key: 'LinuxDOClientSecret', |
| 453 | value: inputs.LinuxDOClientSecret, |
| 454 | }); |
| 455 | } |
| 456 | |
| 457 | if (options.length > 0) { |
| 458 | await updateOptions(options); |
| 459 | } |
| 460 | }; |
| 461 | |
| 462 | const handleCheckboxChange = async (optionKey, event) => { |
| 463 | const value = event.target.checked; |
nothing calls this directly
no test coverage detected