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

Function getPanelMode

background.js:3238–3243  ·  view source on GitHub ↗
(state = {})

Source from the content-addressed store, hash-verified

3236}
3237
3238function getPanelMode(state = {}) {
3239 if (typeof navigationUtils !== 'undefined' && navigationUtils?.getPanelMode) {
3240 return navigationUtils.getPanelMode(state);
3241 }
3242 return state.panelMode === 'sub2api' ? 'sub2api' : 'cpa';
3243}
3244
3245function getPanelModeLabel(modeOrState) {
3246 if (typeof navigationUtils !== 'undefined' && navigationUtils?.getPanelModeLabel) {

Callers 2

getPanelModeLabelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected