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

11 lines
395 B
JavaScript
Raw Normal View History

2019-07-07 11:18:12 +05:30
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);
// prevent babel-plugin-rewire from generating an invalid default during karma tests
export default () => {};