Skip to content

Commit c0a5ad0

Browse files
committed
fix: if modelVersion is undefined, use default version
1 parent 55cbc06 commit c0a5ad0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/screens/admin/components/users/style.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#users-container {
2-
overflow: scroll;
2+
overflow: auto;
33

44
#users-title {
55
font-size: 18px;
@@ -13,7 +13,7 @@
1313
border-radius: 12px;
1414
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.04);
1515
background-color: $white;
16-
overflow: scroll;
16+
overflow: auto;
1717

1818
#user-email {
1919
color: $greyBlue800;

src/screens/admin/style.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
display: flex;
5555
flex-direction: column;
5656
justify-content: space-between;
57-
overflow: scroll;
57+
overflow: auto;
5858

5959
div {
6060
padding: 23px;
@@ -74,7 +74,7 @@
7474
display: flex;
7575
flex-direction: column;
7676
justify-content: space-between;
77-
overflow: scroll;
77+
overflow: auto;
7878
margin-left: 20px;
7979

8080
#users-container,
@@ -120,6 +120,6 @@
120120

121121
.blog-posts-container {
122122
margin-left: 20px;
123-
overflow: scroll;
123+
overflow: auto;
124124
max-height: 500px;
125125
}

src/screens/home/components/play-with-model/component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const PlayWithModel = (props) => {
9393
spb: spbPer2Weeks,
9494
endobrev,
9595
cleridst1,
96-
modelVersion,
96+
modelVersion: modelVersion || DEFAULT_MODEL_VERSION,
9797
});
9898
}
9999
}, [county, dataMode, predictions, rangerDistrict, selectedState]);

0 commit comments

Comments
 (0)