Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils.js « paginated_table_with_search_and_tabs « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7855c7ea6cbfcc12f69ff48a99ef28a591ef0ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
import { __ } from '~/locale';

/**
 * Return a empty string when passed a value of 'Any'
 *
 * @param {String} value
 * @returns {String}
 */
export const isAny = (value) => {
  return value === __('Any') ? '' : value;
};