Commit cce1d45e by Ooh-Ao

dataset

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