Commit cce1d45e by Ooh-Ao

dataset

parent 11ee1825
......@@ -764,7 +764,7 @@ export class DashboardManagementComponent implements OnInit {
// Re-map panels to reflect changes
this.panels = this.mapWidgetsToPanels(this.dashboardData.widgets);
// Save the updated dashboard
this.dashboardDataService.saveDashboard(this.dashboardData).subscribe();
// this.dashboardDataService.saveDashboard(this.dashboardData).subscribe();
}
}
}
......
......@@ -2,7 +2,7 @@
<label for="dataset-select">Select Dataset:</label>
<select id="dataset-select" (change)="onDatasetChange($event)">
<option value="">-- Please choose a dataset --</option>
<option *ngFor="let dataset of datasets$ | async" [value]="dataset">
<option *ngFor="let dataset of datasets$ | async" [value]="dataset.id">
{{ dataset.name }}
</option>
</select>
......
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