From 71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e Mon Sep 17 00:00:00 2001
From: GitLab Bot <gitlab-bot@gitlab.com>
Date: Mon, 20 Feb 2023 13:49:51 +0000
Subject: Add latest changes from gitlab-org/gitlab@15-9-stable-ee

---
 app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue')

diff --git a/app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue b/app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue
index cdce6617591..9d8f1304911 100644
--- a/app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue
+++ b/app/assets/javascripts/sidebar/components/lock/issuable_lock_form.vue
@@ -1,6 +1,7 @@
 <script>
 import { GlIcon, GlTooltipDirective, GlOutsideDirective as Outside } from '@gitlab/ui';
 import { mapGetters, mapActions } from 'vuex';
+import { TYPE_ISSUE } from '~/issues/constants';
 import { __, sprintf } from '~/locale';
 import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
 import { createAlert } from '~/flash';
@@ -9,7 +10,6 @@ import eventHub from '../../event_hub';
 import EditForm from './edit_form.vue';
 
 export default {
-  issue: 'issue',
   locked: {
     icon: 'lock',
     class: 'value',
@@ -49,7 +49,7 @@ export default {
       return this.getNoteableData.targetType === 'merge_request' && this.glFeatures.movedMrSidebar;
     },
     issuableDisplayName() {
-      const isInIssuePage = this.getNoteableData.targetType === this.$options.issue;
+      const isInIssuePage = this.getNoteableData.targetType === TYPE_ISSUE;
       return isInIssuePage ? __('issue') : __('merge request');
     },
     isLocked() {
-- 
cgit v1.2.1

