ScopedHistory implements the History#createHref method by simply calling the underlying parentHistory's method. This does not currently work as expected and cannot generate valid URLs:
- Set Kibana's base path to
/xvf/
- In an app with the base path of
/app/metrics, calling createHref({ pathname: '/inventory' }) returns /xvf/inventory (notice the missing basePath) rather than the complete href: /xvf/app/metrics/inventory
ScopedHistoryimplements theHistory#createHrefmethod by simply calling the underlying parentHistory's method. This does not currently work as expected and cannot generate valid URLs:/xvf//app/metrics, callingcreateHref({ pathname: '/inventory' })returns/xvf/inventory(notice the missing basePath) rather than the complete href:/xvf/app/metrics/inventory