debian-mirror-gitlab/app/assets/javascripts/pipelines/utils.js
2020-06-23 00:09:42 +05:30

8 lines
253 B
JavaScript

import { pickBy } from 'lodash';
import { SUPPORTED_FILTER_PARAMETERS } from './constants';
export const validateParams = params => {
return pickBy(params, (val, key) => SUPPORTED_FILTER_PARAMETERS.includes(key) && val);
};
export default () => {};