MCPcopy Create free account
hub / github.com/SethGammon/Citadel / emptyState

Function emptyState

dashboard/app.js:47–52  ·  view source on GitHub ↗
(message, command)

Source from the content-addressed store, hash-verified

45 };
46 return values[outcome] || values.unknown;
47}
48
49function forkSelectionAllowed(fork, branchId) {
50 if (!fork || !fork.comparison || !Array.isArray(fork.comparison.branches)) return false;
51 if (fork.status === 'landed') return false;
52 const branch = fork.comparison.branches.find((entry) => entry.branch_id === branchId);
53 return Boolean(branch && branch.comparable);
54}
55

Callers 8

renderOverviewFunction · 0.85
renderCampaignsFunction · 0.85
renderFleetFunction · 0.85
renderLoopsFunction · 0.85
renderCostFunction · 0.85
renderHooksFunction · 0.85
renderHandoffsFunction · 0.85
renderPanelFunction · 0.85

Calls 1

elFunction · 0.85

Tested by

no test coverage detected