MCPcopy Create free account
hub / github.com/bugy/script-server / reset

Function reset

web-src/src/main-app/store/scriptSetup.js:25–31  ·  view source on GitHub ↗
({commit})

Source from the content-addressed store, hash-verified

23 },
24 actions: {
25 reset({commit}) {
26 commit('SET_ERRORS', {});
27 commit('SET_VALUES', {});
28 commit('SET_FORCED_VALUE_PARAMETERS', []);
29 commit('SET_NEXT_RELOAD_VALUES', null);
30 commit('RESET_DEFAULT_VALUES');
31 },
32
33 initFromParameters({state, dispatch, commit}, {scriptConfig, parameters}) {
34 const oldParameterAllowedValues = state._parameterAllowedValues

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected