summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/serverless/store/getters.js
blob: c9b1d22799a03f384045635362f52dd95bcf32fb (plain)
1
2
3
4
5
6
7
import { translate } from '../utils';

export const hasPrometheusMissingData = state => state.hasPrometheus && !state.hasPrometheusData;

// Convert the function list into a k/v grouping based on the environment scope

export const getFunctions = state => translate(state.functions);