diff options
Diffstat (limited to 'app/assets/javascripts/notes/components/notes_activity_header.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/notes_activity_header.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/components/notes_activity_header.vue b/app/assets/javascripts/notes/components/notes_activity_header.vue index a91c825710d..ce642733396 100644 --- a/app/assets/javascripts/notes/components/notes_activity_header.vue +++ b/app/assets/javascripts/notes/components/notes_activity_header.vue @@ -38,7 +38,11 @@ export default { }, computed: { showAiActions() { - return this.resourceGlobalId && this.glFeatures.summarizeComments; + return ( + this.resourceGlobalId && + this.glFeatures.openaiExperimentation && + this.glFeatures.summarizeNotes + ); }, }, }; @@ -56,7 +60,7 @@ export default { :loading="aiLoading" /> <timeline-toggle v-if="showTimelineViewToggle" /> - <mr-discussion-filter v-if="mrFilter && glFeatures.mrActivityFilters" /> + <mr-discussion-filter v-if="mrFilter" /> <discussion-filter v-else :filters="notesFilters" :selected-value="notesFilterValue" /> </div> </div> |