diff --git a/.gitlab/ci/qa-common/variables.gitlab-ci.yml b/.gitlab/ci/qa-common/variables.gitlab-ci.yml index e28ee1db7a8..0b8095cd749 100644 --- a/.gitlab/ci/qa-common/variables.gitlab-ci.yml +++ b/.gitlab/ci/qa-common/variables.gitlab-ci.yml @@ -18,7 +18,7 @@ variables: # Helm chart ref used by test-on-cng pipeline GITLAB_HELM_CHART_REF: "074bb942c9c65613c2576ce418f59b8577fff37c" # Specific ref for cng-mirror project to trigger builds for - GITLAB_CNG_MIRROR_REF: "01f587c24c52e4bbf8a67135ae4f6adafa19fa2b" + GITLAB_CNG_MIRROR_REF: "56b6a062b05d549e0b69f79b759107e4956151eb" # Makes sure some of the common scripts from pipeline-common use bundler to execute commands RUN_WITH_BUNDLE: "true" # Makes sure reporting script defined in .gitlab-qa-report from pipeline-common is executed from correct folder diff --git a/app/assets/javascripts/work_items/components/create_work_item.vue b/app/assets/javascripts/work_items/components/create_work_item.vue index e409db03ba5..0aa337d2440 100644 --- a/app/assets/javascripts/work_items/components/create_work_item.vue +++ b/app/assets/javascripts/work_items/components/create_work_item.vue @@ -36,6 +36,8 @@ import { I18N_WORK_ITEM_ERROR_CREATING, sprintfWorkItem, i18n, + NAME_TO_LOWERCASE_TEXT_MAP, + NAME_TO_TEXT_MAP, WIDGET_TYPE_ASSIGNEES, WIDGET_TYPE_COLOR, NEW_WORK_ITEM_IID, @@ -52,8 +54,6 @@ import { WIDGET_TYPE_MILESTONE, DEFAULT_EPIC_COLORS, WIDGET_TYPE_HIERARCHY, - WORK_ITEM_TYPE_NAME_LOWERCASE_MAP, - WORK_ITEM_TYPE_NAME_MAP, WORK_ITEM_TYPE_NAME_INCIDENT, WORK_ITEM_TYPE_NAME_EPIC, WIDGET_TYPE_CUSTOM_FIELDS, @@ -322,7 +322,7 @@ export default { return getDisplayReference(this.selectedProjectFullPath, this.relatedItem.reference); }, relatedItemType() { - return WORK_ITEM_TYPE_NAME_LOWERCASE_MAP[this.relatedItem?.type]; + return NAME_TO_LOWERCASE_TEXT_MAP[this.relatedItem?.type]; }, workItemAssignees() { return findWidget(WIDGET_TYPE_ASSIGNEES, this.workItem); @@ -382,7 +382,7 @@ export default { return workItemTypes.map((workItemType) => ({ value: workItemType.id, - text: WORK_ITEM_TYPE_NAME_MAP[workItemType.name], + text: NAME_TO_TEXT_MAP[workItemType.name], })); }, selectedWorkItemType() { diff --git a/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue b/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue index 7ae94f85521..3d2287be42c 100644 --- a/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue +++ b/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue @@ -1,7 +1,7 @@