Эх сурвалжийг харах

[frontend] Fix welcome tour bug for admin accounts

Rajeshwari 3 жил өмнө
parent
commit
bf90850fa4

+ 1 - 1
desktop/core/src/desktop/js/components/sidebar/Sidebar.vue

@@ -214,7 +214,7 @@
         const sharedProps = {
           name: 'user',
           displayName: this.userDrawerItem.displayName,
-          iconHtml: `<div class="sidebar-user-icon" role="img">${this.userDrawerItem.displayName[0].toUpperCase()}</div>`
+          iconHtml: `<div class="sidebar-user-icon server-position-pointer-welcome-tour" role="img">${this.userDrawerItem.displayName[0].toUpperCase()}</div>`
         };
         if (this.useDrawerForUser) {
           return {

+ 1 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -441,7 +441,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
     %if is_admin(user):
       tour.addStep('admin', {
         text: '${ _ko('As a superuser, you can check system configuration from the user menu and install sample data and jobs for your users.') }',
-        attachTo: '.hue-sidebar .shepherd-user-menu right'
+        attachTo: '.server-position-pointer-welcome-tour left'
       });
     %endif