Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-web
Commits
c16a20d4
Commit
c16a20d4
authored
3 years ago
by
Sakthivel G
Browse files
Options
Download
Plain Diff
Merge branch 'fixes-3.0.0' into 'release-3.0.0'
Fixes 3.0.0 See merge request smf/smf-web!22
parents
a0fbb8d1
18343fb3
master
accept_file_type
cards-value-changes
delete-form
delete-user
form-issue
inspector-model
label-change
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/dashboard/Dashboard.js
+2
-2
src/components/dashboard/Dashboard.js
src/components/form/fields/Input.js
+2
-1
src/components/form/fields/Input.js
src/layouts/Regulator/ReviewApplicationLayout.tsx
+4
-3
src/layouts/Regulator/ReviewApplicationLayout.tsx
with
8 additions
and
6 deletions
+8
-6
src/components/dashboard/Dashboard.js
+
2
−
2
View file @
c16a20d4
...
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
src/components/form/fields/Input.js
+
2
−
1
View file @
c16a20d4
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
src/layouts/Regulator/ReviewApplicationLayout.tsx
+
4
−
3
View file @
c16a20d4
...
...
@@ -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
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
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
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
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
.
v
alues
,
defaultValues
:
m
.
defaultV
alues
,
fieldType
:
m
.
fieldType
,
isCorrect
:
""
,
inspectionValue
:
""
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets