Skip to content
Snippets Groups Projects
Commit 6f1d8d5e authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Removed superfluous fields from the UI (about to be replaced with wrester args)

parent 5ce75752
No related branches found
No related tags found
2 merge requests!1605Merge 2.8.2.3 work to main,!1493WS-1893 curator workflow
This commit is part of merge request !1493. Comments created here will be created in the context of that merge request.
......@@ -160,27 +160,6 @@
(change)="setDataLocation($event.target.value)"/>
</div>
</div>
<div class="col-2">
<div class="md-form">
<label for="curTypeInput" class="">Product Type</label>
<input type="text" id="curTypeInput" class="form-control"
(change)="setProductType($event.target.value)"/>
</div>
</div>
<div class="col-2">
<div class="md-form">
<label for="curTelescopeInput" class="">Telescope</label>
<input type="text" id="curTelescopeInput" class="form-control"
(change)="setTelescope($event.target.value)"/>
</div>
</div>
<div class="col-2">
<div class="md-form">
<label for="curProjectInput" class="">Project Code</label>
<input type="text" id="curProjectInput" class="form-control"
(change)="setProjectCode($event.target.value)"/>
</div>
</div>
<div class="col-3">
<div class="md-form">
<label for="curTargetInput" class="">Target List (Optional)</label>
......
......@@ -35,9 +35,6 @@ export class WsHomeComponent implements OnInit {
public cmsPath: string;
public sdmId: string;
public dataLocation: string;
public productType: string;
public telescope: string;
public projectCode: string;
public targetList: string;
constructor(
......@@ -127,10 +124,7 @@ export class WsHomeComponent implements OnInit {
* - Curator type (full or partial)
* - EB Product Locator
* - Data location path
* - Product type
* - Target list
* - Telescope
* - Project code
* - User email
*/
LaunchCuratorCapabilityOnClick(curatorType: string): void {
......@@ -138,10 +132,7 @@ export class WsHomeComponent implements OnInit {
curator_type: curatorType,
product_locator: this.productLocator,
data_location: this.dataLocation,
product_type: this.productType,
target_list: this.targetList,
telescope: this.telescope,
project_code: this.projectCode,
user_email: this.userEmail,
});
}
......@@ -202,30 +193,6 @@ export class WsHomeComponent implements OnInit {
this.dataLocation = path;
}
/**
* Sets the product type for curator
* @param type Product type for curator
*/
setProductType(type: string): void {
this.productType = type;
}
/**
* Sets the telescope for curator
* @param telescope Telescope for curator
*/
setTelescope(telescope: string): void {
this.telescope = telescope;
}
/**
* Sets the project code for curator
* @param projectCode Project code for curator
*/
setProjectCode(projectCode: string): void {
this.projectCode = projectCode;
}
/**
* Sets the target list for curator
* @param targetList Target list for curator
......
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