MCPcopy Create free account
hub / github.com/ShipSecAI/studio / openEditDialog

Function openEditDialog

frontend/src/pages/SecretsManager.tsx:206–217  ·  view source on GitHub ↗
(secret: SecretSummary)

Source from the content-addressed store, hash-verified

204 };
205
206 const openEditDialog = (secret: SecretSummary) => {
207 setListSuccess(null);
208 setEditingSecret(secret);
209 setEditFormState({
210 name: secret.name,
211 description: secret.description ?? '',
212 tags: formatTags(secret.tags),
213 value: '',
214 });
215 setEditError(null);
216 setIsEditDialogOpen(true);
217 };
218
219 const handleEditDialogChange = (open: boolean) => {
220 setIsEditDialogOpen(open);

Callers 1

SecretsManagerFunction · 0.70

Calls 1

formatTagsFunction · 0.85

Tested by

no test coverage detected