debian-mirror-gitlab/app/assets/javascripts/serverless/store/getters.js
2021-03-08 18:12:59 +05:30

7 lines
288 B
JavaScript

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);