How to disable "View surrounding documents" and "View single document" options from discover searches

Hi ,

I am working on a Kibana plugin where I have used EmbeddableRenderer to show an dashboard and later I am embedding this dashboard inside an react application with share functionality of dashboard.

There is a discover search inside this dashboard , when any row is expanded we get options "View surrounding documents" and "View single document" , I want to disable these options because when user clicks on these options we get navigated out to kibana ui.

Basically I want an embedded dashboard with no external links because they enable kibana side nav and branding which is disabled in iframe dashboard.

Hi @sanskar-panchal-gith !
Currently, we don't have an option to disable them. Could you please create a Github issue? Thanks!