summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issuable/components/issuable_header_warnings.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/issuable/components/issuable_header_warnings.vue')
-rw-r--r--app/assets/javascripts/issuable/components/issuable_header_warnings.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/issuable/components/issuable_header_warnings.vue b/app/assets/javascripts/issuable/components/issuable_header_warnings.vue
index 14325d6b64e..0e58f3793bc 100644
--- a/app/assets/javascripts/issuable/components/issuable_header_warnings.vue
+++ b/app/assets/javascripts/issuable/components/issuable_header_warnings.vue
@@ -2,7 +2,7 @@
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { mapGetters } from 'vuex';
import { sprintf, __ } from '~/locale';
-import { IssuableType, WorkspaceType } from '~/issues/constants';
+import { TYPE_ISSUE, WorkspaceType } from '~/issues/constants';
import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import ConfidentialityBadge from '~/vue_shared/components/confidentiality_badge.vue';
@@ -12,8 +12,8 @@ const NoteableTypeText = {
};
export default {
+ TYPE_ISSUE,
WorkspaceType,
- IssuableType,
components: {
GlIcon,
ConfidentialityBadge,
@@ -61,7 +61,7 @@ export default {
v-if="isConfidential"
data-testid="confidential"
:workspace-type="$options.WorkspaceType.project"
- :issuable-type="$options.IssuableType.Issue"
+ :issuable-type="$options.TYPE_ISSUE"
/>
<template v-for="meta in warningIconsMeta">
<div