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>2023-04-18 15:08:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-18 15:08:51 +0300
commitba12560b3fcd6e24d0ab7e14ae71917a9a81f6aa (patch)
tree2ed7f57a37d4ef73f0598862be12bd742d1e3c65 /app/assets/javascripts/vue_shared/components/markdown
parent5d7b3c05e5c502d090a13515dc5cdaf6b647f215 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/markdown')
-rw-r--r--app/assets/javascripts/vue_shared/components/markdown/header.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/vue_shared/components/markdown/header.vue b/app/assets/javascripts/vue_shared/components/markdown/header.vue
index 8e00ff54c72..4e827d71126 100644
--- a/app/assets/javascripts/vue_shared/components/markdown/header.vue
+++ b/app/assets/javascripts/vue_shared/components/markdown/header.vue
@@ -39,7 +39,7 @@ export default {
newCommentTemplatePath: {
default: null,
},
- issuableId: { default: null },
+ resourceGlobalId: { default: null },
},
props: {
previewMarkdown: {
@@ -123,7 +123,7 @@ export default {
},
showAiActions() {
return (
- this.issuableId &&
+ this.resourceGlobalId &&
this.glFeatures.openaiExperimentation &&
this.glFeatures.summarizeNotes &&
this.glFeatures.summarizeComments
@@ -280,7 +280,7 @@ export default {
</gl-button>
</gl-popover>
</template>
- <ai-actions-dropdown v-if="showAiActions" :issuable-id="issuableId" />
+ <ai-actions-dropdown v-if="showAiActions" :resource-global-id="resourceGlobalId" />
<toolbar-button
tag="**"
:button-title="