MCPcopy Index your code
hub / github.com/bugy/script-server / UPDATE_SINGLE_VALUE

Function UPDATE_SINGLE_VALUE

web-src/src/main-app/store/scriptSetup.js:137–142  ·  view source on GitHub ↗
(state, {parameterName, value})

Source from the content-addressed store, hash-verified

135 state.errors = errors;
136 },
137 UPDATE_SINGLE_VALUE(state, {parameterName, value}) {
138 if (state.parameterValues[parameterName] !== value) {
139 Vue.set(state.parameterValues, parameterName, value);
140 removeElement(state.forcedValueParameters, parameterName)
141 }
142 },
143 UPDATE_PARAMETER_ERROR(state, {parameterName, errorMessage}) {
144 if (isEmptyString(errorMessage)) {
145 delete state.errors[parameterName];

Callers

nothing calls this directly

Calls 2

removeElementFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected