Commit c16a20d4 authored by Sakthivel G's avatar Sakthivel G
Browse files

Merge branch 'fixes-3.0.0' into 'release-3.0.0'

Fixes 3.0.0

See merge request smf/smf-web!22
Showing with 8 additions and 6 deletions
+8 -6
......@@ -67,8 +67,8 @@ class Dashboard extends Component {
if (response2.statusInfo.statusCode === APP.CODE.SUCCESS) {
this.setState({
myApplications:
response2.responseData.length > 6
? response2.responseData.splice(0, 6)
response2.responseData.length > 8
? response2.responseData.splice(0, 8)
: response2.responseData,
});
// console.log(response2.responseData);
......
......@@ -54,10 +54,11 @@ class Input extends Component {
</span>
)}
</label>
<input
type={
this.props.field.fieldType ===
LANG.FIELD_TYPES.numeric.toLowerCase()
LANG.FIELD_TYPES.numeric
? "number"
: this.state.fieldType
}
......
......@@ -162,6 +162,7 @@ export const ReviewApplicationLayout = ({
if (arrThree.length !== 0) {
tempArray.map((i: any, n: number) => {
arrThree.map((m: any, l: number) => {
if (m.sideMenu === i.sideMenu) {
m.fields.map((k: any, y: number) => {
if (!applicationData.inspectorDataObject) {
......@@ -171,7 +172,7 @@ export const ReviewApplicationLayout = ({
sideMenu: m.sideMenu,
label: k.label,
value: i.fields[k.label],
defaultValues: k.values,
defaultValues: k.defaultValues,
fieldType: k.fieldType,
isCorrect: "",
inspectionValue: "",
......@@ -184,7 +185,7 @@ export const ReviewApplicationLayout = ({
sideMenu: m.sideMenu,
label: k.label,
value: i.fields[k.label],
defaultValues: k.values,
defaultValues: k.defaultValues,
fieldType: k.fieldType,
isCorrect:
tempArrayTwo[n].fields[k.label]["value"] === "correct"
......@@ -210,7 +211,7 @@ export const ReviewApplicationLayout = ({
sideMenu: i.sideMenu,
label: m.name,
value: i.fields[m.name],
defaultValues: m.values,
defaultValues: m.defaultValues,
fieldType: m.fieldType,
isCorrect: "",
inspectionValue: "",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment