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

data.js « archived_filter « components « sidebar « search « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 831e253a0b6a857e1fcdc9fd2ed8f5d3a0a3f505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { s__ } from '~/locale';

const headerLabel = s__('GlobalSearch|Archived');
const checkboxLabel = s__('GlobalSearch|Include archived');
export const TRACKING_NAMESPACE = 'search:archived:select';
export const TRACKING_LABEL_CHECKBOX = 'checkbox';

const scopes = {
  PROJECTS: 'projects',
  ISSUES: 'issues',
  MERGE_REQUESTS: 'merge_requests',
};

const filterParam = 'include_archived';

export const archivedFilterData = {
  headerLabel,
  checkboxLabel,
  scopes,
  filterParam,
};