gitlab-org--gitlab-foss/app/assets/javascripts/pipelines/utils.js

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 () => {};