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>2024-01-23 06:10:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-23 06:10:35 +0300
commit89ff92639b7ad6499fb1e9470e4151fb112a904e (patch)
treec03a3e8d5f5b905cd07932e7780e8f0d533e5ec6 /app/assets/javascripts/notes/components/comment_form.vue
parent422294262e50d47bee73c2e85bfbc21473c2508a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notes/components/comment_form.vue')
-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 17eded3bec0..dda153cb399 100644
--- a/app/assets/javascripts/notes/components/comment_form.vue
+++ b/app/assets/javascripts/notes/components/comment_form.vue
@@ -118,10 +118,7 @@ export default {
return this.getNoteableData.current_user.can_create_note;
},
canSetInternalNote() {
- return (
- this.getNoteableData.current_user.can_create_confidential_note &&
- (this.isIssue || this.isEpic)
- );
+ return this.getNoteableData.current_user.can_create_confidential_note;
},
issueActionButtonTitle() {
const openOrClose = this.isOpen ? 'close' : 'reopen';