[arvados-workbench2] updated: 2.7.0-236-ge20299a4
git repository hosting
git at public.arvados.org
Mon Dec 4 19:15:29 UTC 2023
Summary of changes:
src/views/workbench/workbench.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via e20299a447346fc0fa6ff9008cc3ce5b40f23cad (commit)
from e40e247cfa09ed8e61642e3c0ade40881105e02e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e20299a447346fc0fa6ff9008cc3ce5b40f23cad
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Mon Dec 4 14:15:24 2023 -0500
21128: fixed resize crash Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx
index be254251..a02d346f 100644
--- a/src/views/workbench/workbench.tsx
+++ b/src/views/workbench/workbench.tsx
@@ -300,7 +300,7 @@ const applyCollapsedState = isCollapsed => {
export const WorkbenchPanel = withStyles(styles)((props: WorkbenchPanelProps) => {
//panel size will not scale automatically on window resize, so we do it manually
- window.addEventListener("resize", () => applyCollapsedState(props.sidePanelIsCollapsed));
+ if (props && props.sidePanelIsCollapsed) window.addEventListener("resize", () => applyCollapsedState(props.sidePanelIsCollapsed));
applyCollapsedState(props.sidePanelIsCollapsed);
return (
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list