BUG: Subscription unavailable error banner shows up in 'GitLab Duo' and 'Usage Quotas' tab
Summary
When visiting GitLab Duo page, an error banner is shown saying: GitLab subscription not available
How to reproduce
- Start
gdkonSaaSmodeGITLAB_SIMULATE_SAAS=1 gdk restart - Buy a Premium or Ultimate subscription for a top-level namespace
- Go to
GitLab Duopage - See the error banner
- You can also check the network tab for GraphQL request
Extra context
- #481957 (comment 2113403206)
- #476256 (comment 2081478109)
- Slack Thread Internal
- Possible related MR: !163327 (merged)
Current Behaviour
Error banner being shown incorrectly
Expected Behaviour
No error banner should be shown
Possible cause
Calling for getCurrentLicense graphql on SaaS - GitLab.com context
Potential Fix
Do not call getCurrentLicense on SaaS - GitLab.com context
Edited by Bishwa Hang Rai
