MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / _onSavePressed

Function _onSavePressed

client/src/sources/shared/sql/sql-builder.jsx:209–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 };
208
209 const _onSavePressed = () => {
210 setSaveLoading(true);
211 onSave(sqlRequest).then(() => {
212 setSaveLoading(false);
213 }).catch(() => {
214 setSaveLoading(false);
215 });
216 };
217
218 const _onTransformSave = (transformConfig) => {
219 const updatedRequest = { ...sqlRequest, transform: transformConfig };

Callers 1

SqlBuilderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected