From 150b6f319679897988cf6bc87cc01507213f6d78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Nov 2023 20:16:40 +0000 Subject: [PATCH] Fix navigation bug from dashboard to dashboard (#5435) 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 --- .../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 c87c3478558c..ca552eddaad1 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx @@ -235,6 +235,7 @@ export class DashboardContainer extends Container