Errors with nav control when spaces are disabled #46255
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Security
Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
A console error appears when running kibana with spaces disabled.
Steps to reproduce:
xpack.spaces.enabled: false
in Kibana configExpected behavior:
No error. :)
Errors in browser console (if relevant):
Any additional context:
Everything in the nav appears to continue working, but there is an error in the console.
In the NavControlPopover component
Props['activeSpace']
isnull
when spaces are disabled.When the control is registered the type of
activeSpace
isany
, which should probably be narrowed to more clearly identify the type of this object.The text was updated successfully, but these errors were encountered: