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

constants.js « set_status_modal « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86e24c29775cc0137ce49dbbd922c8eaa8f4631e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { timeRanges } from '~/vue_shared/constants';
import { __ } from '~/locale';

export const NEVER_TIME_RANGE = {
  label: __('Never'),
  name: 'never',
};

export const TIME_RANGES_WITH_NEVER = [NEVER_TIME_RANGE, ...timeRanges];

export const AVAILABILITY_STATUS = {
  BUSY: 'busy',
  NOT_SET: 'not_set',
};

export const SET_STATUS_MODAL_ID = 'set-user-status-modal';