diff options
Diffstat (limited to 'app/assets/javascripts/work_items/constants.js')
-rw-r--r-- | app/assets/javascripts/work_items/constants.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/work_items/constants.js b/app/assets/javascripts/work_items/constants.js index daa72204609..41cf5d8932d 100644 --- a/app/assets/javascripts/work_items/constants.js +++ b/app/assets/javascripts/work_items/constants.js @@ -54,9 +54,6 @@ export const i18n = { "WorkItem|This work item is not available. It either doesn't exist or you don't have permission to view it.", ), updateError: s__('WorkItem|Something went wrong while updating the work item. Please try again.'), - confidentialTooltip: s__( - 'WorkItem|Only project members with at least the Reporter role, the author, and assignees can view or be notified about this %{workItemType}.', - ), }; export const I18N_WORK_ITEM_ERROR_FETCHING_LABELS = s__( @@ -195,6 +192,11 @@ export const WORK_ITEMS_TYPE_MAP = { }, }; +export const WORK_ITEM_TYPE_VALUE_MAP = { + [WORK_ITEM_TYPE_VALUE_OBJECTIVE]: WORK_ITEM_TYPE_ENUM_OBJECTIVE, + [WORK_ITEM_TYPE_VALUE_KEY_RESULT]: WORK_ITEM_TYPE_ENUM_KEY_RESULT, +}; + export const WORK_ITEMS_TREE_TEXT_MAP = { [WORK_ITEM_TYPE_VALUE_OBJECTIVE]: { title: s__('WorkItem|Child objectives and key results'), |