debian-mirror-gitlab/app/assets/javascripts/search/topbar/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
447 B
JavaScript
Raw Normal View History

2021-02-22 17:27:13 +05:30
import { __ } from '~/locale';
export const ANY_OPTION = Object.freeze({
id: null,
name: __('Any'),
name_with_namespace: __('Any'),
});
export const GROUP_DATA = {
headerText: __('Filter results by group'),
queryParam: 'group_id',
2021-09-04 01:27:46 +05:30
name: 'name',
fullName: 'full_name',
2021-02-22 17:27:13 +05:30
};
export const PROJECT_DATA = {
headerText: __('Filter results by project'),
queryParam: 'project_id',
2021-09-04 01:27:46 +05:30
name: 'name',
fullName: 'name_with_namespace',
2021-02-22 17:27:13 +05:30
};