diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2024-03-05 16:17:19 -0500 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2024-03-05 16:17:19 -0500 |
commit | ca60236766540ac1ce0c18d52416d982e91404cd (patch) | |
tree | 77cd6195293afdf4b13dde4553c92d305b0cf7a1 /src/client/goldenLayout.js | |
parent | dfef33c3f1cde9a24d734e0bd47e7f377a3ae4c9 (diff) | |
parent | 11b6cb8344f26e5895bebc3dedef491675717e30 (diff) |
Merge branch 'master' into dataviz-ai-sarah
Diffstat (limited to 'src/client/goldenLayout.js')
-rw-r--r-- | src/client/goldenLayout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/goldenLayout.js b/src/client/goldenLayout.js index 2b94d35ee..cb1dfd76a 100644 --- a/src/client/goldenLayout.js +++ b/src/client/goldenLayout.js @@ -4727,7 +4727,7 @@ */ } else { type = isVertical ? 'column' : 'row'; - if (this.parent.contentItems.length === 1) { + if (this.parent.contentItems.length === 1 && this.contentItems.length === 1) { let grandparent = this.parent.parent; let correctRowOrCol = this.layoutManager.createContentItem({ type: type }, this); grandparent.replaceChild(this.parent, correctRowOrCol); |