Skip to content
Snippets Groups Projects
Commit 648c80ff authored by Mostafa Hadizadeh's avatar Mostafa Hadizadeh
Browse files

fix comma issue in client description scheduler

parent df3f05cb
No related branches found
No related tags found
1 merge request!1Development2 into main to clean the repo
......@@ -2072,6 +2072,11 @@ export default {
}
else {
this.client_collection_descriptions = this.responseData[0].client_collection_descriptions
for (let i = 0; i < this.client_collection_descriptions.length; i++) {
if (this.client_collection_descriptions[i] !== null) {
this.client_collection_descriptions[i] = this.client_collection_descriptions[i].replace(/\|/g, ',');
}
}
}
}
}
......@@ -2462,6 +2467,11 @@ export default {
this.extension_properties = this.create_extension_properties()
this.asset_properties = this.create_asset_properties()
this.requests_properties = this.create_request_properties()
for (let i = 0; i < this.client_collection_descriptions.length; i++) {
if (this.client_collection_descriptions[i] !== null) {
this.client_collection_descriptions[i] = this.client_collection_descriptions[i].replace(/,/g, '|');
}
}
// this.stac_validation_input = this.create_stac_validation_input()
let formdata = new FormData();
......@@ -2545,6 +2555,11 @@ export default {
this.extension_properties = this.create_extension_properties()
this.asset_properties = this.create_asset_properties()
this.requests_properties = this.create_request_properties()
for (let i = 0; i < this.client_collection_descriptions.length; i++) {
if (this.client_collection_descriptions[i] !== null) {
this.client_collection_descriptions[i] = this.client_collection_descriptions[i].replace(/,/g, '|');
}
}
// this.stac_validation_input = this.create_stac_validation_input()
let formdata = new FormData();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment