From 08f2365dd66e85d468a2789f86a6fa76904c3438 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 3 Aug 2023 16:59:07 +0200 Subject: [PATCH] Remove logs, update release notes, move Router outside of ternary operator Signed-off-by: Vladimir --- RELEASE.md | 3 +-- src/components/wrapper/wrapper.js | 16 ++++++++-------- src/store/load-data.js | 1 - 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 53a21e13a9..d4db3a4cf8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,8 +10,7 @@ Please follow the established format: - Fix incorrect rendering of datasets in modular pipelines. (#1439) - Fix broken SVG/PNG exports in light theme. (#1463) -- Fix error when setting globalToolbar prop value as false. (#1351) -- Fix error error in dropdown component. (#1351) +- Fix dataset and global tool bar error with standalone React component (#1351) # Release 6.3.4 diff --git a/src/components/wrapper/wrapper.js b/src/components/wrapper/wrapper.js index 0bd3c6d263..ce94f8816c 100644 --- a/src/components/wrapper/wrapper.js +++ b/src/components/wrapper/wrapper.js @@ -47,9 +47,9 @@ export const Wrapper = ({ displayGlobalToolbar, theme }) => { })} >

Kedro-Viz

- {displayGlobalToolbar ? ( - - + + {displayGlobalToolbar ? ( + { - - - ) : ( - - )} + + ) : ( + + )} + ); }; diff --git a/src/store/load-data.js b/src/store/load-data.js index f2028f40f3..4357209fa4 100644 --- a/src/store/load-data.js +++ b/src/store/load-data.js @@ -11,7 +11,6 @@ import { getUrl } from '../utils'; */ const loadJsonData = (path = getUrl('main'), fallback = {}) => json(path).catch(() => { - console.log(path); const fullPath = `/public${path.substr(1)}`; // For main route throw a user error