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-12-16 00:15:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-16 00:15:55 +0300
commit73778b9c53d13a2e06a693c30073366deedead8f (patch)
treed0ccbde07ae68feb9d7cfe68ffeea96ddedf2371 /app/assets/javascripts/super_sidebar/components
parent19ccf5e6435280a5fc3abc0748f78fd1ce103890 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/super_sidebar/components')
-rw-r--r--app/assets/javascripts/super_sidebar/components/help_center.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/super_sidebar/components/help_center.vue b/app/assets/javascripts/super_sidebar/components/help_center.vue
index e354d82b76a..4e0d05add85 100644
--- a/app/assets/javascripts/super_sidebar/components/help_center.vue
+++ b/app/assets/javascripts/super_sidebar/components/help_center.vue
@@ -47,6 +47,7 @@ export default {
return {
showWhatsNewNotification: this.shouldShowWhatsNewNotification(),
helpCenterState,
+ toggleWhatsNewDrawer: null,
};
},
computed: {
@@ -177,12 +178,11 @@ export default {
this.showWhatsNewNotification = false;
if (!this.toggleWhatsNewDrawer) {
- const appEl = document.getElementById('whats-new-app');
const { default: toggleWhatsNewDrawer } = await import(
/* webpackChunkName: 'whatsNewApp' */ '~/whats_new'
);
this.toggleWhatsNewDrawer = toggleWhatsNewDrawer;
- this.toggleWhatsNewDrawer(appEl);
+ this.toggleWhatsNewDrawer(this.sidebarData.whats_new_version_digest);
} else {
this.toggleWhatsNewDrawer();
}