Fix: Allow nested groups and projects to also have the tier badge
What does this MR do and why?
Fix: Allow nested groups and projects to also have the tier badge
- fixes a regression introduced in !127860 (merged)
- refactors for better handling of the Group/Project text detection to be driven off the source object a bit better.
- see #432239 (closed) for more details
Screenshots or screen recordings
no changes
How to set up and validate locally
validated by view specs and feature specs(ee/spec/features/projects/show_spec.rb
and ee/spec/features/groups/show_spec.rb
)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #432239 (closed)
Edited by Doug Stull