Merge "Fix a bug that job might not be able to be started properly."
diff --git a/tools/otagui/src/services/JobSubmission.js b/tools/otagui/src/services/JobSubmission.js
index a3986f6..f6acfb5 100644
--- a/tools/otagui/src/services/JobSubmission.js
+++ b/tools/otagui/src/services/JobSubmission.js
@@ -35,7 +35,7 @@
* Start the generation process, will throw an error if not succeed
*/
async sendForm() {
- for (let flag of OTAExtraFlags.slice(3, OTAflags.length)) {
+ for (let flag of OTAExtraFlags) {
if (this[flag.key]) {
this.extra_keys.push(flag.key)
}