Skip to content

Commit

Permalink
Merge pull request #684 from dali-lab/fix/play-with-the-model-default…
Browse files Browse the repository at this point in the history
…-year

fix: if modelVersion is undefined, use default version
  • Loading branch information
wu-ciesielska authored Jan 28, 2025
2 parents e58f0de + c0a5ad0 commit 11ec273
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/screens/admin/components/users/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#users-container {
overflow: scroll;
overflow: auto;

#users-title {
font-size: 18px;
Expand All @@ -13,7 +13,7 @@
border-radius: 12px;
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.04);
background-color: $white;
overflow: scroll;
overflow: auto;

#user-email {
color: $greyBlue800;
Expand Down
6 changes: 3 additions & 3 deletions src/screens/admin/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: scroll;
overflow: auto;

div {
padding: 23px;
Expand All @@ -74,7 +74,7 @@
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: scroll;
overflow: auto;
margin-left: 20px;

#users-container,
Expand Down Expand Up @@ -120,6 +120,6 @@

.blog-posts-container {
margin-left: 20px;
overflow: scroll;
overflow: auto;
max-height: 500px;
}
2 changes: 1 addition & 1 deletion src/screens/home/components/play-with-model/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const PlayWithModel = (props) => {
spb: spbPer2Weeks,
endobrev,
cleridst1,
modelVersion,
modelVersion: modelVersion || DEFAULT_MODEL_VERSION,
});
}
}, [county, dataMode, predictions, rangerDistrict, selectedState]);
Expand Down

0 comments on commit 11ec273

Please sign in to comment.