MCPcopy Create free account
hub / github.com/gotify/server / submitAndClose

Function submitAndClose

ui/src/user/AddEditUserDialog.tsx:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 const namePresent = name.length !== 0;
32 const passPresent = pass.length !== 0 || isEdit;
33 const submitAndClose = async () => {
34 await fOnSubmit(name, pass, admin);
35 fClose();
36 };
37 return (
38 <Dialog
39 open={true}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…