debian-mirror-gitlab/app/assets/javascripts/serverless/store/getters.js

8 lines
288 B
JavaScript
Raw Normal View History

2019-07-07 11:18:12 +05:30
import { translate } from '../utils';
2021-03-08 18:12:59 +05:30
export const hasPrometheusMissingData = (state) => state.hasPrometheus && !state.hasPrometheusData;
2019-07-07 11:18:12 +05:30
// Convert the function list into a k/v grouping based on the environment scope
2021-03-08 18:12:59 +05:30
export const getFunctions = (state) => translate(state.functions);