Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: if modelVersion is undefined, use default version #684

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading