From aa177acea71b049fb034f6e75b792dfbb78f628e Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Wed, 4 Sep 2024 19:42:51 +0200 Subject: [PATCH] fix: add scroll to sidebar, move predictors back to other --- src/SideBar/SideBarContainer.component.js | 1 + src/config/maintenance-models.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SideBar/SideBarContainer.component.js b/src/SideBar/SideBarContainer.component.js index 67372fe74..0ed7d973b 100644 --- a/src/SideBar/SideBarContainer.component.js +++ b/src/SideBar/SideBarContainer.component.js @@ -144,6 +144,7 @@ class SideBarContainer extends React.Component { position: 'fixed', bottom: '0', top: '7rem', + overflow: 'auto', }; return ( diff --git a/src/config/maintenance-models.js b/src/config/maintenance-models.js index d4ca924d1..c884716bd 100644 --- a/src/config/maintenance-models.js +++ b/src/config/maintenance-models.js @@ -41,8 +41,6 @@ export function getSideBarConfig() { 'indicatorGroupSet', 'programIndicator', 'programIndicatorGroup', - 'predictor', - 'predictorGroup', ], }, @@ -89,6 +87,8 @@ export function getSideBarConfig() { 'optionGroup', 'optionGroupSet', 'optionSet', + 'predictor', + 'predictorGroup', 'pushAnalysis', 'sqlView', ],