MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getPanelMode

Function getPanelMode

background/navigation-utils.js:31–33  ·  view source on GitHub ↗
(state = {})

Source from the content-addressed store, hash-verified

29 }
30
31 function getPanelMode(state = {}) {
32 return state.panelMode === 'sub2api' ? 'sub2api' : 'cpa';
33 }
34
35 function getPanelModeLabel(modeOrState) {
36 const mode = typeof modeOrState === 'string' ? modeOrState : getPanelMode(modeOrState);

Callers 5

getPanelModeLabelFunction · 0.70
requestOAuthUrlFromPanelFunction · 0.70
runStep7AttemptFunction · 0.50
executeStep9Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected