debian-mirror-gitlab/app/assets/javascripts/group_settings/constants.js

12 lines
349 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
import { __ } from '~/locale';
// Debounce delay in milliseconds
export const DEBOUNCE_TOGGLE_DELAY = 1000;
export const ERROR_MESSAGE = __('Refresh the page and try again.');
// runner setting options
export const ENABLED = 'enabled';
export const DISABLED = 'disabled_and_unoverridable';
export const ALLOW_OVERRIDE = 'disabled_with_override';