MCPcopy Create free account
hub / github.com/ForgeAILab/forge / openEditDialog

Function openEditDialog

web/src/components/settings/ProjectHooksSection.tsx:619–623  ·  view source on GitHub ↗
(rule: ProjectHookRule, index: number)

Source from the content-addressed store, hash-verified

617 }
618
619 const openEditDialog = (rule: ProjectHookRule, index: number) => {
620 setDialogMode({ type: 'edit', index })
621 setForm(formFromRule(rule))
622 setFormError('')
623 }
624
625 const closeDialog = () => {
626 if (saveRules.isPending) return

Callers 1

ProjectHooksSectionFunction · 0.85

Calls 1

formFromRuleFunction · 0.85

Tested by

no test coverage detected