Searched refs:availableMetrics (Results 1 – 3 of 3) sorted by relevance
22 const {availableMetrics, selectedIndex} = globals.state.metrics; constant23 if (!availableMetrics) return undefined;25 return availableMetrics[selectedIndex];48 const {availableMetrics, selectedIndex} = globals.state.metrics; constant49 if (availableMetrics === undefined) return 'Loading metrics...';50 if (availableMetrics.length === 0) return 'No metrics available';65 availableMetrics.map(
831 if (!state.metrics.availableMetrics) throw Error('No metrics available');836 state.metrics.availableMetrics[state.metrics.selectedIndex];845 state.metrics.availableMetrics = args.metrics;850 if (!state.metrics.availableMetrics ||851 args.index >= state.metrics.availableMetrics.length) {
264 availableMetrics?: string[]; // Undefined until list is loaded. property