diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
commit | 9297025d0b7ddf095eb618dfaaab2ff8f2018d8b (patch) | |
tree | 865198c01d1824a9b098127baa3ab980c9cd2c06 /app/assets/javascripts/clusters_list/components/agents.vue | |
parent | 6372471f43ee03c05a7c1f8b0c6ac6b8a7431dbe (diff) |
Add latest changes from gitlab-org/gitlab@16-7-stable-eev16.7.0-rc42
Diffstat (limited to 'app/assets/javascripts/clusters_list/components/agents.vue')
-rw-r--r-- | app/assets/javascripts/clusters_list/components/agents.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/clusters_list/components/agents.vue b/app/assets/javascripts/clusters_list/components/agents.vue index 33d98c381fb..39b6e287288 100644 --- a/app/assets/javascripts/clusters_list/components/agents.vue +++ b/app/assets/javascripts/clusters_list/components/agents.vue @@ -1,6 +1,7 @@ <!-- eslint-disable vue/multi-word-component-names --> <script> import { GlAlert, GlLoadingIcon, GlBanner } from '@gitlab/ui'; +import feedbackBannerIllustration from '@gitlab/svgs/dist/illustrations/chat-sm.svg?url'; import { s__ } from '~/locale'; import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue'; @@ -112,6 +113,9 @@ export default { feedbackBannerClasses() { return this.isChildComponent ? 'gl-my-2' : 'gl-mb-4'; }, + feedbackBannerIllustration() { + return feedbackBannerIllustration; + }, }, methods: { updateTreeList(data) { @@ -145,11 +149,11 @@ export default { > <gl-banner v-if="!feedbackBannerDismissed" - variant="introduction" :class="feedbackBannerClasses" :title="$options.i18n.feedbackBannerTitle" :button-text="$options.i18n.feedbackBannerButton" :button-link="$options.AGENT_FEEDBACK_ISSUE" + :svg-path="feedbackBannerIllustration" @close="handleBannerClose" > <p>{{ $options.i18n.feedbackBannerText }}</p> |