Fix type error in initHeaderSearchApp
What does this MR do and why?
Under some conditions, the backend doesn't set all necessary data to the dataset object that is used to initialize the header search. I added default values to the deconstruction of the object to prevent variable undefined errors.
How to set up and validate locally
- header search is reachable from almost any page in GitLab
- visit the private project
- verify that the header search still works
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 #396296 (closed)
Edited by Tomas Bulva