From ce7260410b6139bb4fec8d5f133f9675349ad691 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:10:22 -0800 Subject: [PATCH] Fix navigation bug from dashboard to dashboard (#5435) (#5437) Previously navigating from one dashboard to another dashboard do not work. This PR adds a dashboard id as a prop to pass into the component in order to force react to re-render every time it receives a new id. Resolve the following issues: * https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4694 * https://github.com/opensearch-project/Open and Search-Dashboards/issues/4819 Signed-off-by: abbyhu2000 (cherry picked from commit 1de8be6ad21ae0a056dbe62322b89ef7db610a48) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] --- .../public/application/embeddable/dashboard_container.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx b/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx index dad2f196f1b8..d994e98142db 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx @@ -239,6 +239,7 @@ export class DashboardContainer extends Container