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
ea11a839
Commit
ea11a839
authored
2 years ago
by
BharathTarento
Browse files
Options
Download
Patches
Plain Diff
changes in form page checking for application is also
parent
d61e7377
master
delete-form
delete-user
form-issue
1 merge request
!4
changes in form page checking for application is also
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/form/FormViewer.js
+3
-4
src/components/form/FormViewer.js
with
3 additions
and
4 deletions
+3
-4
src/components/form/FormViewer.js
+
3
−
4
View file @
ea11a839
...
...
@@ -79,7 +79,7 @@ class FormViewer extends Component {
}
setTimeout
(()
=>
{
this
.
populateForm
(
this
.
props
.
match
.
params
.
applicationId
);
},
5
0
);
},
100
0
);
}
else
{
if
(
this
.
userRole
===
APP
.
ROLE
.
INSTITUTION
)
{
this
.
setState
({
...
...
@@ -427,8 +427,8 @@ class FormViewer extends Component {
saveFields
=
(
index
)
=>
{
// console.log("saveFields...");
if
(
this
.
props
.
match
.
params
.
applicationId
===
null
||
this
.
props
.
match
.
params
.
applicationId
===
undefined
||
!
this
.
props
.
match
.
params
.
applicationId
||
this
.
props
.
match
.
params
.
applicationId
||
this
.
state
.
applicationDetails
.
status
===
LANG
.
FORM_STATUS
.
RETURNED
)
{
let
obj
=
this
.
state
.
formFields
,
...
...
@@ -525,7 +525,6 @@ class FormViewer extends Component {
}
}
}
var
fieldGroups
=
{};
for
(
let
i
=
0
;
i
<
this
.
state
.
formHeadings
.
length
;
i
++
)
{
fieldGroups
[
this
.
state
.
formHeadings
[
i
]]
=
{};
...
...
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