Fix upgrade message link in operations dashboard
What does this MR do and why?
Similar to !154376 (merged), this fixes a broken link in the operations dashboard, which is caused by a missing import to gl-link
. This appears to have been broken since 2021?
This also fixes spacing around the link.
This is related to the effort in Add lint rule to catch undefined Vue components (#464700) to add an automated check to prevent these kinds of bugs.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Go to the operations dashboard, at
/-/operations
- Add a non-premium project to the dashboard (locally, the simplest albeit hacky way would be to add
return true
belowdef upgrade_required
inee/app/serializers/dashboard_operations_project_entity.rb
) - See that the link is rendered correctly
- See that the link links to the upgrade path (e.g.
/groups/flightjs/-/billings
)