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

Function updateApprovalActive

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

Source from the content-addressed store, hash-verified

7import { updateSettingsCwd } from './dir-picker.js';
8
9function updateApprovalActive() {
10 document.querySelectorAll('#approval-options .settings-opt').forEach(el => {
11 el.classList.toggle('active', el.dataset.mode === approvalMode);
12 });
13}
14
15function updateThemeActive() {
16 document.querySelectorAll('#theme-options .settings-opt').forEach(el => {

Callers 2

setApprovalModeFunction · 0.70
initSettingsValuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected