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:
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();
}