summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/serverless/store/getters.js
blob: da975c56e5dcc40ac900a95a4af418276a868c6a (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);