From 95ccf4edcaaab815c869b5225f1517349ea1d142 Mon Sep 17 00:00:00 2001 From: Hidy Han Date: Mon, 22 Apr 2024 23:27:40 -0700 Subject: [PATCH] fix --- .../worksheets/BundleDetail/BundleDetailSideBar.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/worksheets/BundleDetail/BundleDetailSideBar.jsx b/frontend/src/components/worksheets/BundleDetail/BundleDetailSideBar.jsx index 38f8986f9..036824d50 100644 --- a/frontend/src/components/worksheets/BundleDetail/BundleDetailSideBar.jsx +++ b/frontend/src/components/worksheets/BundleDetail/BundleDetailSideBar.jsx @@ -52,7 +52,13 @@ class BundleDetailSideBar extends React.Component { const showDependencies = !!bundle.dependencies?.value?.length; const showHostWorksheets = !!bundle.host_worksheets?.value.length; let bundleStore; - fetchBundleStores(uuid).then((response) => {bundleStore = response; console.log('!!!!!!!!'); console.log(response);}); + fetchBundleStores(uuid) + .then((response) => { + const { + data: { attributes: { name: bundleStore } }, + } = response; + console.log(bundleStore); + console.log('!!!!!!!!'); console.log(response);}); return (
{showPageLink && (