Fix alert showing for unlimited schedules limit
What does this MR do and why?
Bug fix for alert showing for unlimited pipeline schedules limit.
The alert should only show when a user has access, does not have unlimited schedules and the limit has been reached.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No access (guest user/reporter)
Unlimited schedules
Limit reached
How to set up and validate locally
- Change
planLimit
in the query response to0
,null
andx
- Test the different use-cases in
Build > Pipeline schedules
Related to #442625 (closed)