Commit 90ea14bf authored by François Agneray's avatar François Agneray
Browse files

Add plot enabled option (dataset)

parent 63ba2e60
Pipeline #5010 passed with stages
in 10 minutes and 31 seconds
......@@ -84,6 +84,10 @@
<div class="form-check mb-2">
<input class="form-check-input" type="checkbox" id="plot_enabled" name="plot_enabled" [ngModel]="getConfigConeSearchCol('plot_enabled')" [disabled]="!ngForm.form.value.cone_search">
<label class="form-check-label" for="plot_enabled">Activate plot</label>
<accordion-group heading="Page result configuration">
<div class="form-check">
......@@ -117,8 +117,9 @@ export class FormDatasetComponent {
datasetEmitted.config = {
cone_search: {
enabled: this.ngForm.form.value.cone_search,
column_ra: this.ngForm.form.value.column_ra,
column_dec: this.ngForm.form.value.column_dec
column_ra: +this.ngForm.form.value.column_ra,
column_dec: +this.ngForm.form.value.column_dec,
plot_enabled: this.ngForm.form.value.plot_enabled
results_server_link: this.ngForm.form.value.results_server_link,
opened_datatable: this.ngForm.form.value.opened_datatable,
......@@ -17,6 +17,7 @@ export class Dataset implements Displayable {
enabled: boolean;
column_ra: number;
column_dec: number;
plot_enabled: boolean;
results_server_link: boolean;
opened_datatable: boolean;
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