MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / setEnvFieldValue

Function setEnvFieldValue

deployments/desktop/static/desktop.js:4819–4826  ·  view source on GitHub ↗
(id, env, key, fallback = "", aliases = [])

Source from the content-addressed store, hash-verified

4817 }
4818
4819 function setEnvFieldValue(id, env, key, fallback = "", aliases = []) {
4820 const input = $(id);
4821 if (!input) return null;
4822 const info = envInfo(env, key, fallback, aliases);
4823 input.dataset.envKey = info.key;
4824 input.value = info.isSecret && info.present ? "***" : info.value;
4825 return info;
4826 }
4827
4828 function setSourceStatus(id, configuredText, missingText, configured) {
4829 const target = $(id);

Callers 1

renderSettingsFunction · 0.85

Calls 2

envInfoFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected