From 567de3bedbeaff265b2703282fa6f23aa910ff56 Mon Sep 17 00:00:00 2001 From: Prince Mendiratta Date: Wed, 12 Oct 2022 16:06:01 +0530 Subject: [PATCH] fix: do not display breadcrumbs with iframe (#47989) Signed-off-by: Prince Mendiratta Signed-off-by: Prince Mendiratta Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> --- client/src/templates/Challenges/codeally/show.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/templates/Challenges/codeally/show.tsx b/client/src/templates/Challenges/codeally/show.tsx index 74fb21265c9..1dec2704e43 100644 --- a/client/src/templates/Challenges/codeally/show.tsx +++ b/client/src/templates/Challenges/codeally/show.tsx @@ -230,6 +230,9 @@ class ShowCodeAlly extends Component { challenge => challenge.id === challengeId ); + const breadcrumbs = document.querySelector('.breadcrumbs-demo'); + showCodeAlly && breadcrumbs?.remove(); + return showCodeAlly ? (