Commit bf9fcc77 authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent 6726e7cf
...@@ -748,7 +748,7 @@ class FormApprover extends Component { ...@@ -748,7 +748,7 @@ class FormApprover extends Component {
} }
for (let i = 0; i < (sbj.length - 1); i++) { for (let i = 0; i < (sbj.length - 1); i++) {
if (sbj[i] != " ") { if (sbj[i] != " ") {
sbj = sbj.slice(i, sbj.length - 1); sbj = sbj.slice(i, sbj.length);
break; break;
} }
} }
......
...@@ -290,7 +290,7 @@ class FormCreate extends Component { ...@@ -290,7 +290,7 @@ class FormCreate extends Component {
} }
for (let i = 0; i < (sbj.length - 1); i++) { for (let i = 0; i < (sbj.length - 1); i++) {
if (sbj[i] != " ") { if (sbj[i] != " ") {
sbj = sbj.slice(i, sbj.length - 1); sbj = sbj.slice(i, sbj.length);
break; break;
} }
} }
......
...@@ -500,7 +500,7 @@ class FormRevision extends Component { ...@@ -500,7 +500,7 @@ class FormRevision extends Component {
} }
for (let i = 0; i < (sbj.length - 1); i++) { for (let i = 0; i < (sbj.length - 1); i++) {
if (sbj[i] != " ") { if (sbj[i] != " ") {
sbj = sbj.slice(i, sbj.length - 1); sbj = sbj.slice(i, sbj.length);
break; break;
} }
} }
......
Markdown is supported
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