MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / initSettingsValues

Function initSettingsValues

app/src/modules/settings.js:41–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41export function initSettingsValues() {
42 const approvalRadio = document.querySelector(`input[name="approval-mode"][value="${approvalMode}"]`);
43 if (approvalRadio) approvalRadio.checked = true;
44 updateApprovalActive();
45
46 const themeRadio = document.querySelector(`input[name="theme-mode"][value="${themeMode}"]`);
47 if (themeRadio) themeRadio.checked = true;
48 updateThemeActive();
49}
50
51function openSettings() {
52 initSettingsValues();

Callers 1

openSettingsFunction · 0.70

Calls 2

updateApprovalActiveFunction · 0.70
updateThemeActiveFunction · 0.70

Tested by

no test coverage detected