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
...@@ -160,27 +160,6 @@ ...@@ -160,27 +160,6 @@
(change)="setDataLocation($event.target.value)"/> (change)="setDataLocation($event.target.value)"/>
</div> </div>
</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="col-3">
<div class="md-form"> <div class="md-form">
<label for="curTargetInput" class="">Target List (Optional)</label> <label for="curTargetInput" class="">Target List (Optional)</label>
......
...@@ -35,9 +35,6 @@ export class WsHomeComponent implements OnInit { ...@@ -35,9 +35,6 @@ export class WsHomeComponent implements OnInit {
public cmsPath: string; public cmsPath: string;
public sdmId: string; public sdmId: string;
public dataLocation: string; public dataLocation: string;
public productType: string;
public telescope: string;
public projectCode: string;
public targetList: string; public targetList: string;
constructor( constructor(
...@@ -127,10 +124,7 @@ export class WsHomeComponent implements OnInit { ...@@ -127,10 +124,7 @@ export class WsHomeComponent implements OnInit {
* - Curator type (full or partial) * - Curator type (full or partial)
* - EB Product Locator * - EB Product Locator
* - Data location path * - Data location path
* - Product type
* - Target list * - Target list
* - Telescope
* - Project code
* - User email * - User email
*/ */
LaunchCuratorCapabilityOnClick(curatorType: string): void { LaunchCuratorCapabilityOnClick(curatorType: string): void {
...@@ -138,10 +132,7 @@ export class WsHomeComponent implements OnInit { ...@@ -138,10 +132,7 @@ export class WsHomeComponent implements OnInit {
curator_type: curatorType, curator_type: curatorType,
product_locator: this.productLocator, product_locator: this.productLocator,
data_location: this.dataLocation, data_location: this.dataLocation,
product_type: this.productType,
target_list: this.targetList, target_list: this.targetList,
telescope: this.telescope,
project_code: this.projectCode,
user_email: this.userEmail, user_email: this.userEmail,
}); });
} }
...@@ -202,30 +193,6 @@ export class WsHomeComponent implements OnInit { ...@@ -202,30 +193,6 @@ export class WsHomeComponent implements OnInit {
this.dataLocation = path; 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 * Sets the target list for curator
* @param targetList 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