diff options
Diffstat (limited to 'app/assets/javascripts/search/sidebar/components/archived_filter/data.js')
-rw-r--r-- | app/assets/javascripts/search/sidebar/components/archived_filter/data.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/javascripts/search/sidebar/components/archived_filter/data.js b/app/assets/javascripts/search/sidebar/components/archived_filter/data.js new file mode 100644 index 00000000000..77efbdd9e60 --- /dev/null +++ b/app/assets/javascripts/search/sidebar/components/archived_filter/data.js @@ -0,0 +1,19 @@ +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', +}; + +const filterParam = 'include_archived'; + +export const archivedFilterData = { + headerLabel, + checkboxLabel, + scopes, + filterParam, +}; |