Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/notes/components/comment_field_layout.vue')
-rw-r--r--app/assets/javascripts/notes/components/comment_field_layout.vue8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/javascripts/notes/components/comment_field_layout.vue b/app/assets/javascripts/notes/components/comment_field_layout.vue
index cefcc1b0c98..7673bd61631 100644
--- a/app/assets/javascripts/notes/components/comment_field_layout.vue
+++ b/app/assets/javascripts/notes/components/comment_field_layout.vue
@@ -1,5 +1,4 @@
<script>
-import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import NoteableWarning from '~/vue_shared/components/notes/noteable_warning.vue';
import EmailParticipantsWarning from './email_participants_warning.vue';
import AttachmentsWarning from './attachments_warning.vue';
@@ -12,7 +11,6 @@ export default {
EmailParticipantsWarning,
NoteableWarning,
},
- mixins: [glFeatureFlagsMixin()],
props: {
noteableData: {
type: Object,
@@ -56,11 +54,7 @@ export default {
return this.emailParticipants.length && !this.isInternalNote;
},
showAttachmentWarning() {
- return (
- this.glFeatures.serviceDeskNewNoteEmailNativeAttachments &&
- this.showEmailParticipantsWarning &&
- this.containsLink
- );
+ return this.showEmailParticipantsWarning && this.containsLink;
},
},
};