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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 15:08:41 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 15:08:41 +0300
commit5c5d24f032b67d98452f391192386e330a0f880c (patch)
tree9e58d94388f63cb825e426fea2c4929740604768 /app/assets/javascripts/notes
parent5ccb67600c63549774a28811d177dd673e6dd4d0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r--app/assets/javascripts/notes/components/comment_form.vue5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/notes/components/comment_form.vue b/app/assets/javascripts/notes/components/comment_form.vue
index e7ac27c5e3e..bd5945a951b 100644
--- a/app/assets/javascripts/notes/components/comment_form.vue
+++ b/app/assets/javascripts/notes/components/comment_form.vue
@@ -172,9 +172,6 @@ export default {
trackingLabel() {
return slugifyWithUnderscore(`${this.commentButtonTitle} button`);
},
- internalNotesEnabled() {
- return Boolean(this.glFeatures.confidentialNotes);
- },
disableSubmitButton() {
return this.note.length === 0 || this.isSubmitting;
},
@@ -414,7 +411,7 @@ export default {
</template>
<template v-else>
<gl-form-checkbox
- v-if="internalNotesEnabled && canSetInternalNote"
+ v-if="canSetInternalNote"
v-model="noteIsInternal"
class="gl-mb-2"
data-testid="internal-note-checkbox"