Fix check for adminPath in home_panel.vue
What does this MR do and why?
Port "View in admin area" button to Vue (!144736 - merged) migrated the View in Admin mode
button to Vue.
There is a check which always is true
so it shows the button at all times. This MR will fix the check for adminPath
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
How to set up and validate locally
- Go to a project overview page without admin permissions (e.g. http://gdk.test:3000/flightjs/Flight)
Related to #425467 (closed)