Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2014

[Global-header] My profile menu link not showing in profileDropdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.8.0
    • Plugin, UI
    • None
    • RHDH F&UI plugins 3280
    • Important

      Description of problem:

      "My profile" menu link item not showing in profileDropdown after i18n implementation.

      Cause:

      // current code
      const isMyProfile = title === 'profile.myProfile'; // doesn't work anymore
      
      // previous working version without i18n
      const isMyProfile = title.toLowerCase() === 'my profile';

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      Login to RHDH with the main branch exported global-header plugin.

      Actual results:

      "My profile" menu link is not showing.

      Expected results:

      "My profile" menu link should be displayed in profileDropdown.

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              yicai@redhat.com Yi Cai
              yicai@redhat.com Yi Cai
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: