MCPcopy Create free account
hub / github.com/error311/FileRise / activeGateway

Function activeGateway

public/js/adminPanel.js:3797–3801  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3795 };
3796
3797 const activeGateway = () => {
3798 const id = state.editingId || state.previewGatewayId;
3799 if (!id) return null;
3800 return (state.gateways || []).find((x) => String(x.id || '') === id) || null;
3801 };
3802
3803 const refreshSnippetPreview = () => {
3804 const includeSecrets = !!includeSecretsEl?.checked;

Callers 2

refreshSnippetPreviewFunction · 0.85
loadGatewaysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected